2011/devel/system/devel/gcc - k is obsolete
Onur Küçük
paketler-commits at pardus.org.tr
Mon Oct 11 15:58:53 EEST 2010
Author: onur
Date: Mon Oct 11 15:58:53 2010
New Revision: 102436
Modified:
2011/devel/system/devel/gcc/actions.py
Log:
k is obsolete
---
actions.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
Modified: 2011/devel/system/devel/gcc/actions.py
=================================================================
--- 2011/devel/system/devel/gcc/actions.py (original)
+++ 2011/devel/system/devel/gcc/actions.py Mon Oct 11 15:58:53 2010
@@ -29,17 +29,16 @@
# WARNING: even -fomit-frame-pointer may break the build, stack protector, fortify source etc. are off limits
cflags = "-O2 -g -pipe"
+
def removePardusSection(_dir):
for root, dirs, files in os.walk(_dir):
for name in files:
# FIXME: should we do this only on nonshared or all ?
- # if ("crt" in k and k.endswith(".o")) or k.endswith("nonshared.a"):
- if ("crt" in k and k.endswith(".o")) or k.endswith(".a"):
+ # if ("crt" in name and name.endswith(".o")) or name.endswith("nonshared.a"):
+ if ("crt" in name and name.endswith(".o")) or name.endswith(".a"):
i = os.path.join(root, name)
shelltools.system('objcopy -R ".comment.PARDUS.OPTs" -R ".note.gnu.build-id" %s' % i)
-
-
def exportFlags():
# we set real flags with new configure settings, these are just safe optimizations
shelltools.export("CFLAGS", cflags)
More information about the paketler-commits
mailing list