about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-12-04 17:47:55 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-12-04 17:47:55 +0000
commit7ca9e9c2c7ea6839e2276cbdd5d1c2498bd8fb5e (patch)
treed54f57250f62fe466181bc0b714945fdc34bca54
parent1d6212e788a4ae3ef06dfd80cd73ff020c34a5cd (diff)
downloadnetpbm-mirror-7ca9e9c2c7ea6839e2276cbdd5d1c2498bd8fb5e.tar.gz
netpbm-mirror-7ca9e9c2c7ea6839e2276cbdd5d1c2498bd8fb5e.tar.xz
netpbm-mirror-7ca9e9c2c7ea6839e2276cbdd5d1c2498bd8fb5e.zip
Use GNU C compile options on Darwin
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@780 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rwxr-xr-xbuildtools/configure.pl1
-rw-r--r--doc/HISTORY8
2 files changed, 6 insertions, 3 deletions
diff --git a/buildtools/configure.pl b/buildtools/configure.pl
index 98570ddd..d135d3e9 100755
--- a/buildtools/configure.pl
+++ b/buildtools/configure.pl
@@ -2143,6 +2143,7 @@ if ($platform eq "GNU") {
     push(@config_mk, "NETWORKLD = -lsocket -lresolve\n");
 } elsif ($platform eq "DARWIN") {
     push(@config_mk, "CC = cc -no-cpp-precomp\n");
+    push(@config_mk, gnuCflags('cc'));
     push(@config_mk, 'CFLAGS_SHLIB = -fno-common', "\n");
 
     my $installNameOpt;
diff --git a/doc/HISTORY b/doc/HISTORY
index 6c9e00fb..e640555a 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -19,9 +19,11 @@ not yet  BJH  Release 10.45.00
 
               pamditherbw: Fix -value other than .5 with -fs, -atkinson.
 
-              Build: Move CFLAGS later in libjasper build so that a -I in
-              CFLAGS doesn't interfere with finding the local libjasper
-              header files.
+              Build: Use GNU compile options for Darwin.
+
+              Build: Move CFLAGS later in libjasper and librle build so that a
+              -I in CFLAGS doesn't interfere with finding the local libjasper
+              and Netpbm header files.
 
               Build: Move LDFLAGS later so that a -L in LDFLAGS doesn't
               interfere with finding the built libnetpbm.  (The common