瀏覽代碼

fix compile error

Waldemar Brodkorb 14 年之前
父節點
當前提交
c69912d5e2
共有 1 個文件被更改,包括 12 次插入0 次删除
  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