diff options
author | Tony Cook <tony@develop-help.com> | 2013-01-03 09:36:27 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2013-01-03 09:36:27 +1100 |
commit | ed39e4ee2993f11d81d79e6e611d623b8ad7704c (patch) | |
tree | 9283af4194c644a024253d929754287e5b519800 /hints/haiku.sh | |
parent | 6e2b1c999f40503175abc7ae7144349e2c7df096 (diff) | |
download | perl-ed39e4ee2993f11d81d79e6e611d623b8ad7704c.tar.gz |
Don't usenm on haiku
This cam up from building perl with nm enabled and make test_harness
croaking with the complaint that times wasn't implemented.
nm /system/lib/libroot.so | grep times produces:
00095540 T __times
00095460 T __times_beos
0009b690 t itimerspec_to_bigtimes__FRC10itimerspecRxT1
00095540 T times@@LIBROOT_1_ALPHA4
00095460 T times@LIBROOT_BASE
000981c8 t timesub
000958b4 T utimes
of which the two times@... entries appear to be version symbols.
The system perl on Haiku-OS alpha4.1 is built with -Uusenm
Diffstat (limited to 'hints/haiku.sh')
-rw-r--r-- | hints/haiku.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hints/haiku.sh b/hints/haiku.sh index c908bc5435..fa8ebe51ea 100644 --- a/hints/haiku.sh +++ b/hints/haiku.sh @@ -35,3 +35,10 @@ ld='gcc' case "$ldlibpthname" in '') ldlibpthname=LIBRARY_PATH ;; esac + +# as of alpha 4.1 (at the latest) some symbols are versioned, +# confusing the nm lookup +case "$usenm" in +'') usenm='undef' ;; +esac + |