]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
nasm: Build without stack protector.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Feb 2010 17:19:09 +0000 (18:19 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 8 Feb 2010 16:08:53 +0000 (17:08 +0100)
This is needed because nasm gets killed immediately
by the stack smashing protector.

pkgs/core/nasm/nasm.nm

index 9db33ca3b11d7ee3ef3dbd85ad58e618e80b7d28..5ce2bbc7d797ffb582a2e41e755576044fc454f2 100644 (file)
@@ -42,6 +42,8 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.bz2
 
+CFLAGS        += -fno-stack-protector
+
 define STAGE_INSTALL
        cd $(DIR_APP) && make install INSTALLROOT=$(BUILDROOT)
 endef