]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Removed -rpaths from iptables.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 26 Apr 2009 08:20:55 +0000 (10:20 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 26 Apr 2009 08:20:55 +0000 (10:20 +0200)
lfs/iptables

index 49eb0f1c79603b9c4e6971b8d5cc27ae785c7068..6b15b7542a7d9b6f698a05f62a5a12c54be7647a 100644 (file)
@@ -50,6 +50,8 @@ define LONG_DESC
        you should install this package.
 endef
 
+CFLAGS    += -fno-strict-aliasing
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -97,6 +99,11 @@ $(OBJECT): $(objects)
                        --enable-devel \
                        --enable-libipq
 
+       # Remove rpath
+       cd $(DIR_APP) && sed -i libtool \
+               -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
+               -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g'
+
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install