Browse Source

fix compile error

Waldemar Brodkorb 13 years ago
parent
commit
c69912d5e2
1 changed files with 12 additions and 0 deletions
  1. 12 0
      package/portmap/patches/patch-Makefile

+ 12 - 0
package/portmap/patches/patch-Makefile

@@ -0,0 +1,12 @@
+--- portmap_6.0.orig/Makefile	2007-05-11 05:02:10.000000000 +0200
++++ portmap_6.0/Makefile	2010-12-19 22:23:02.000000000 +0100
+@@ -125,9 +125,7 @@ CFLAGS   += -Wall -Wstrict-prototypes
+ all:	portmap pmap_dump pmap_set portmap.man
+ 
+ CPPFLAGS += $(HOSTS_ACCESS)
+-portmap: CFLAGS   += -fpie
+ portmap: LDLIBS   += $(WRAP_LIB)
+-portmap: LDFLAGS  += -pie
+ portmap: portmap.o pmap_check.o from_local.o
+ 
+ from_local: CPPFLAGS += -DTEST