diff --git a/configure b/configure
index 0635907..173c10a 100755
a
|
b
|
case $_host_os in
|
2333 | 2333 | ;; |
2334 | 2334 | irix*) |
2335 | 2335 | DEFINES="$DEFINES -DIRIX" |
2336 | | DEFINES="$DEFINES -DSYSTEM_NOT_SUPPORTING_D_TYPE" |
| 2336 | if test "$have_gcc" = yes; then |
| 2337 | LDFLAGS="$LDFLAGS -LD_LAYOUT:lgot_buffer=50" |
| 2338 | fi |
| 2339 | DEFINES="$DEFINES -DSYSTEM_NOT_SUPPORTING_D_TYPE -DFORBIDDEN_SYMBOL_EXCEPTION_clock=1 -DFORBIDDEN_SYMBOL_EXCEPTION_difftime=1 -DFORBIDDEN_SYMBOL_EXCEPTION_mktime=1 -DFORBIDDEN_SYMBOL_EXCEPTION_asctime=1 -DFORBIDDEN_SYMBOL_EXCEPTION_time=1 -DFORBIDDEN_SYMBOL_EXCEPTION_ctime=1 -DFORBIDDEN_SYMBOL_EXCEPTION_gmtime=1 -DFORBIDDEN_SYMBOL_EXCEPTION_localtime=1 -DFORBIDDEN_SYMBOL_EXCEPTION_getdate=1 -DFORBIDDEN_SYMBOL_EXCEPTION_isnumber=1" |
2337 | 2340 | LIBS="$LIBS -lmd -lfastm -lm" |
2338 | 2341 | _ranlib=: |
2339 | 2342 | ;; |
… |
… |
if test -n "$_host"; then
|
2655 | 2658 | _ranlib=$_host-ranlib |
2656 | 2659 | ;; |
2657 | 2660 | mips-sgi*) |
2658 | | LDFLAGS="$LDFLAGS -static-libgcc" |
| 2661 | if test "$have_gcc" = yes; then |
| 2662 | LDFLAGS="$LDFLAGS -static-libgcc" |
| 2663 | fi |
2659 | 2664 | LIBS="$LIBS -laudio" |
2660 | 2665 | ;; |
2661 | 2666 | motoezx) |
… |
… |
POST_OBJS_FLAGS := -Wl,-no-whole-archive
|
3251 | 3256 | _plugin_suffix=".so" |
3252 | 3257 | CXXFLAGS="$CXXFLAGS -fpic" |
3253 | 3258 | LIBS="$LIBS -ldl" |
| 3259 | if test "$have_gcc" = yes; then |
3254 | 3260 | _mak_plugins=' |
3255 | 3261 | PLUGIN_EXTRA_DEPS = |
3256 | 3262 | PLUGIN_LDFLAGS += -shared -static-libgcc |
3257 | | PRE_OBJS_FLAGS := -Wl,-export-dynamic -Wl,-whole-archive |
3258 | | POST_OBJS_FLAGS := -Wl,-no-whole-archive |
| 3263 | PRE_OBJS_FLAGS := -Wl,-export-dynamic -Wl,-whole-archive -Wl,-all |
| 3264 | POST_OBJS_FLAGS := -Wl,-no-whole-archive -Wl,-notall |
| 3265 | ' |
| 3266 | else |
| 3267 | _mak_plugins=' |
| 3268 | PLUGIN_EXTRA_DEPS = |
| 3269 | PLUGIN_LDFLAGS += -shared |
| 3270 | PRE_OBJS_FLAGS := -Wl,-all |
| 3271 | POST_OBJS_FLAGS := |
3259 | 3272 | ' |
| 3273 | fi |
3260 | 3274 | ;; |
3261 | 3275 | |
3262 | 3276 | linux* | gnu* | k*bsd*-gnu*) |