Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: linux.mk

Issue 2127863003: fix for gcc 4.4 build (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/libyuv/version.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This is a generic makefile for libyuv for gcc. 1 # This is a generic makefile for libyuv for gcc.
2 # make -f linux.mk CXX=clang++ 2 # make -f linux.mk CXX=clang++
3 3
4 CC?=gcc 4 CC?=gcc
5 CFLAGS?=-O2 -fomit-frame-pointer 5 CFLAGS?=-O2 -fomit-frame-pointer
6 CFLAGS+=-Iinclude/ 6 CFLAGS+=-Iinclude/
7 7
8 CXX?=g++ 8 CXX?=g++
9 CXXFLAGS?=-O2 -fomit-frame-pointer 9 CXXFLAGS?=-O2 -fomit-frame-pointer
10 CXXFLAGS+=-Iinclude/ 10 CXXFLAGS+=-Iinclude/
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 # A C++ test utility that uses libyuv conversion. 68 # A C++ test utility that uses libyuv conversion.
69 convert: util/convert.cc libyuv.a 69 convert: util/convert.cc libyuv.a
70 $(CXX) $(CXXFLAGS) -Iutil/ -o $@ util/convert.cc libyuv.a 70 $(CXX) $(CXXFLAGS) -Iutil/ -o $@ util/convert.cc libyuv.a
71 71
72 # A standalone test utility 72 # A standalone test utility
73 psnr: util/psnr.cc 73 psnr: util/psnr.cc
74 $(CXX) $(CXXFLAGS) -Iutil/ -o $@ util/psnr.cc util/psnr_main.cc util/ssi m.cc 74 $(CXX) $(CXXFLAGS) -Iutil/ -o $@ util/psnr.cc util/psnr_main.cc util/ssi m.cc
75 75
76 # A C test utility that uses libyuv conversion from C. 76 # A C test utility that uses libyuv conversion from C.
77 cpuid: util/cpuid.c libyuv.a 77 cpuid: util/cpuid.c libyuv.a
78 » $(CC) $(CFLAGS) -o $@ util/cpuid.c libyuv.a 78 » $(CC) $(CFLAGS) -o $@ util/cpuid.c libyuv.a -lc++
79 79
80 clean: 80 clean:
81 /bin/rm -f source/*.o *.ii *.s libyuv.a convert cpuid psnr 81 /bin/rm -f source/*.o *.ii *.s libyuv.a convert cpuid psnr
OLDNEW
« no previous file with comments | « include/libyuv/version.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698