mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Finally get the avr-gcc port really compile on the alpha architecture,
by forcing the CFLAGS to -O -pipe. Somehow, the alpha build always tries to enforce a particular -mcpu=ev4 flag which of course cannot be understood by the (AVR) xgcc later on. This looks to me like a bug in the cross-compilation environment of gcc, but i'm tired of actually finding the bug. The compiled result of avr-gcc MD5 compares equal to something build from an IA32 host platform.
This commit is contained in:
parent
e923766cdc
commit
f1bf3ec3b8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39916
2 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,7 @@ USE_GMAKE= yes
|
|||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ARGS= --target=avr
|
||||
CONFIGURE_ENV= CFLAGS="-O -pipe"
|
||||
|
||||
MAKE_FLAGS= LANGUAGES="c"
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@ USE_GMAKE= yes
|
|||
GNU_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ARGS= --target=avr
|
||||
CONFIGURE_ENV= CFLAGS="-O -pipe"
|
||||
|
||||
MAKE_FLAGS= LANGUAGES="c"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue