diff --git a/pisi/configfile.py b/pisi/configfile.py index 42d1f4d3..ef24b61e 100644 --- a/pisi/configfile.py +++ b/pisi/configfile.py @@ -29,7 +29,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 -Wl,--hash-style=gnu +#LDFLAGS= -Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common #buildno=True # necessary for generating build nos #buildhelper = None / ccache / icecream #compressionlevel = 7 @@ -84,7 +84,7 @@ class BuildDefaults: enableSandbox = True 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 -Wl,--hash-style=gnu" + ldflags = "-Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common" buildno = False buildhelper = None compressionlevel = 7