about summary refs log tree commit diff
path: root/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-12-07 01:58:20 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-12-07 01:58:20 +0000
commit86e28372bb9b28a8d62c33c874f395bbbcd395cf (patch)
treeb967a5b9a22e809057df09e79196bcad838613e8 /other
parentea8192a607f9aab49616c92fce88e0461f9e8fc1 (diff)
downloadnetpbm-mirror-86e28372bb9b28a8d62c33c874f395bbbcd395cf.tar.gz
netpbm-mirror-86e28372bb9b28a8d62c33c874f395bbbcd395cf.tar.xz
netpbm-mirror-86e28372bb9b28a8d62c33c874f395bbbcd395cf.zip
Release 10.35.57
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@788 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other')
-rw-r--r--other/Makefile5
-rw-r--r--other/pamx/Makefile4
-rw-r--r--other/pamx/pamx.c1
3 files changed, 5 insertions, 5 deletions
diff --git a/other/Makefile b/other/Makefile
index 87f92f96..9aaa9d93 100644
--- a/other/Makefile
+++ b/other/Makefile
@@ -50,10 +50,9 @@ all: $(BINARIES) $(SUBDIRS:%=%/all)
 include $(SRCDIR)/Makefile.common
 
 ppmsvgalib: %: %.o $(NETPBMLIB) $(LIBOPT)
-	$(LD) $(LDFLAGS) -o $@ $< \
+	$(LD) -o $@ $< \
 	  $(shell $(LIBOPT) $(NETPBMLIB) $(LINUXSVGALIB)) \
-	  $(MATHLIB) $(LDLIBS) \
-	  $(LADD) 
+	  $(MATHLIB) $(LDFLAGS) $(LDLIBS) $(LADD) 
 
 install.bin: install.bin.local
 .PHONY: install.bin.local
diff --git a/other/pamx/Makefile b/other/pamx/Makefile
index 9c3f2cf0..baff506d 100644
--- a/other/pamx/Makefile
+++ b/other/pamx/Makefile
@@ -39,6 +39,6 @@ all: $(BINARIES)
 include $(SRCDIR)/Makefile.common
 
 pamx: $(PAMX_OBJECTS) $(NETPBMLIB) $(LIBOPT)
-	$(LD) $(LDFLAGS) -o $@ $(PAMX_OBJECTS) \
+	$(LD) -o $@ $(PAMX_OBJECTS) \
 	  $(shell $(LIBOPT) $(NETPBMLIB) $(X11LIB)) \
-	  $(LDLIBS) $(MATHLIB) $(RPATH) $(LADD)
+	  $(LDFLAGS) $(LDLIBS) $(MATHLIB) $(RPATH) $(LADD)
diff --git a/other/pamx/pamx.c b/other/pamx/pamx.c
index 17980643..5fd525b7 100644
--- a/other/pamx/pamx.c
+++ b/other/pamx/pamx.c
@@ -3,6 +3,7 @@
    Copyright information is in the file COPYRIGHT
 */
 
+#define _BSD_SOURCE  /* Make sure strdup() is in <string.h> */
 #include <signal.h>
 #include <unistd.h>
 #include <errno.h>