Summary: | sys-devel/gcc-config should not enforce CFLAGS_${ABI} | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nathan Phillip Brink (binki) (RETIRED) <binki> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED LATER | ||
Severity: | normal | CC: | esigra, tommy |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 306835 | ||
Attachments: | wrapper-1.5.1-no-ABI.patch |
Description
Nathan Phillip Brink (binki) (RETIRED)
2011-01-11 19:05:30 UTC
Created attachment 259563 [details]
wrapper-1.5.1-no-ABI.patch
With this quick patch, gcc-config ignores CFLAGS_${ABI}:
ohnobinki@ohnopublishing ~ $ CFLAGS_moo=-m32 ABI=moo x86_64-pc-linux-gnu-gcc -c test.c
ohnobinki@ohnopublishing ~ $ file test.o
test.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
gcc-config needs to retain this behavior for quite a while after things have been phased out. you need to get ebuilds in tree that use this fixed first, as well as the profiles, as well as any other random crap i cant think of off the top of my head. only then can we maybe think about changing gcc-config. |