about summary refs log tree commit diff
path: root/Makefile.common
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-10-07 18:45:11 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2006-10-07 18:45:11 +0000
commit9eba0808f20753cd15887b057f0d0fb20e663c03 (patch)
tree29e0776b5bf387175c31e3368d6b7c2c4e61a3d2 /Makefile.common
parent0bf54ddfa2a0efcf6142ad1292abbfa26fe0bee3 (diff)
downloadnetpbm-mirror-9eba0808f20753cd15887b057f0d0fb20e663c03.tar.gz
netpbm-mirror-9eba0808f20753cd15887b057f0d0fb20e663c03.tar.xz
netpbm-mirror-9eba0808f20753cd15887b057f0d0fb20e663c03.zip
Add CPPFLAGS to builds where it is missing
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@83 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.common b/Makefile.common
index c31013c6..0d9ee5e2 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -61,13 +61,13 @@
 #   libjpeg.  All header files from the Netpbm source tree take precedence
 #   over these.
 
-# In addition, there is CADD, which is extra C compilation flags and
+# In addition, there is CADD, which is extra C compilation options and
 # is intended to be set on a make command line (e.g. 'make CADD=-g')
-# for flags that apply just to a particular build.
+# for options that apply just to a particular build.
 
 # In addition, there is CFLAGS_PERSONAL, which is extra C
-# compilation flags and is expected to be set via environment variable
-# for flags that are particular to the person doing the build and not
+# compilation options and is expected to be set via environment variable
+# for options that are particular to the person doing the build and not
 # specific to Netpbm.
 
 include $(SRCDIR)/Makefile.version
@@ -320,7 +320,7 @@ $(PORTBINARIES) $(MATHBINARIES): %: %.o $(NETPBMLIB) $(LIBOPT)
 
 %.o2: %.c importinc
 # Note that the user may have configured -I options into CFLAGS.
-	$(CC) -c $(INCLUDES) -DNDEBUG $(CFLAGS) \
+	$(CC) -c $(INCLUDES) -DNDEBUG $(CPPFLAGS) $(CFLAGS) \
 	  "-Dmain=main_$*" \
           $(CFLAGS_MERGE) $(CFLAGS_PERSONAL) $(CADD) -o $@ $<