Overlay/net-libs/ptlib/files/ptlib-2.10.10-respect_cflag...

14 lines
578 B
Diff

diff -ur ptlib-2.10.10.orig/make/ptbuildopts.mak.in ptlib-2.10.10/make/ptbuildopts.mak.in
--- ptlib-2.10.10.orig/make/ptbuildopts.mak.in 2014-08-04 18:11:02.000000000 +0000
+++ ptlib-2.10.10/make/ptbuildopts.mak.in 2014-08-04 18:11:32.000000000 +0000
@@ -15,8 +15,8 @@
OSTYPE = @OSTYPE@
OSRELEASE = @OSRELEASE@
-STDCCFLAGS += @STDCCFLAGS@ @CPPFLAGS@
-STDCXXFLAGS += @STDCXXFLAGS@ @CPPFLAGS@
+STDCCFLAGS += @STDCCFLAGS@ @CFLAGS@
+STDCXXFLAGS += @STDCXXFLAGS@ @CXXFLAGS@
OPTSTDCCFLAGS += @OPTSTDCCFLAGS@
LDFLAGS += @LDFLAGS@
ENDLDLIBS += @ENDLDLIBS@