From 9cf989072bb914e310096bf3e8c7a376e0ffdda9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20D=C3=B6nmez?= Date: Mon, 4 Feb 2008 07:43:04 +0000 Subject: [PATCH] linker options should be prefixed by -Wl, --- pisi/configfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/configfile.py b/pisi/configfile.py index 6f7e03a1..62d807fe 100644 --- a/pisi/configfile.py +++ b/pisi/configfile.py @@ -27,7 +27,7 @@ #jobs = "-j1" #CFLAGS= -mtune=generic -march=i686 -O2 -pipe -fomit-frame-pointer -fstack-protector -D_FORTIFY_SOURCE=2 #CXXFLAGS= -mtune=generic -march=i686 -O2 -pipe -fomit-frame-pointer -fstack-protector -D_FORTIFY_SOURCE=2 -#LDFLAGS= -Wl,-O1 -Wl,-z,relro --hash-style=gnu +#LDFLAGS= -Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu #buildno=True # necessary for generating build nos #buildhelper = None / ccache / icecream #compressionlevel = 7 @@ -80,7 +80,7 @@ class BuildDefaults: generateDebug = False cflags = "-mtune=generic -march=i686 -O2 -pipe -fomit-frame-pointer -fstack-protector -D_FORTIFY_SOURCE=2" cxxflags = "-mtune=generic -march=i686 -O2 -pipe -fomit-frame-pointer -fstack-protector -D_FORTIFY_SOURCE=2" - ldflags = "-Wl,-O1 -Wl,-z,relro --hash-style=gnu" + ldflags = "-Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu" buildno = False buildhelper = None compressionlevel = 7