CONFIGURE: Add missing -fuse-cxa-atexit for GameCube.

svn-id: r52731
This commit is contained in:
Andre Heider 2010-09-15 07:44:24 +00:00
parent 2596143e2b
commit 251151eb1d

1
configure vendored
View File

@ -1443,6 +1443,7 @@ case $_host_os in
gamecube)
CXXFLAGS="$CXXFLAGS -Os -mogc -mcpu=750 -meabi -mhard-float"
CXXFLAGS="$CXXFLAGS -ffunction-sections -fdata-sections -fmodulo-sched"
CXXFLAGS="$CXXFLAGS -fuse-cxa-atexit"
CXXFLAGS="$CXXFLAGS -I$DEVKITPRO/libogc/include"
# libogc is required to link the cc tests (includes _start())
LDFLAGS="$LDFLAGS -mogc -mcpu=750 -L$DEVKITPRO/libogc/lib/cube -logc"