ptlib-2.10.10-respect_cflags_cxxflags.patch (578B)
1 diff -ur ptlib-2.10.10.orig/make/ptbuildopts.mak.in ptlib-2.10.10/make/ptbuildopts.mak.in 2 --- ptlib-2.10.10.orig/make/ptbuildopts.mak.in 2014-08-04 18:11:02.000000000 +0000 3 +++ ptlib-2.10.10/make/ptbuildopts.mak.in 2014-08-04 18:11:32.000000000 +0000 4 @@ -15,8 +15,8 @@ 5 OSTYPE = @OSTYPE@ 6 OSRELEASE = @OSRELEASE@ 7 8 -STDCCFLAGS += @STDCCFLAGS@ @CPPFLAGS@ 9 -STDCXXFLAGS += @STDCXXFLAGS@ @CPPFLAGS@ 10 +STDCCFLAGS += @STDCCFLAGS@ @CFLAGS@ 11 +STDCXXFLAGS += @STDCXXFLAGS@ @CXXFLAGS@ 12 OPTSTDCCFLAGS += @OPTSTDCCFLAGS@ 13 LDFLAGS += @LDFLAGS@ 14 ENDLDLIBS += @ENDLDLIBS@