You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/ptlib/files/ptlib-2.10.10-respect_cflag...

14 lines
578 B

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@