cs: sync LDFLAGS
for racketcs
on BSDs
This commit is contained in:
parent
0423ec9841
commit
1b729d157b
10
racket/src/cs/c/configure
vendored
10
racket/src/cs/c/configure
vendored
|
@ -3902,9 +3902,16 @@ case "$host_os" in
|
|||
;;
|
||||
*freebsd*)
|
||||
MACH_OS=fb
|
||||
LIBS="${LIBS} -L/usr/local/lib -liconv -lm -lpthread -lossp-uuid"
|
||||
# Can't strip until ELF lookup added to startup
|
||||
enable_strip=no
|
||||
;;
|
||||
openbsd*)
|
||||
MACH_OS=ob
|
||||
LIBS="${LIBS} -L/usr/local/lib -liconv -lm -lpthread -lossp-uuid"
|
||||
LDFLAGS="{$LDFLAGS} -Wl,-zwxneeded"
|
||||
# Can't strip until ELF lookup added to startup
|
||||
enable_strip=no
|
||||
;;
|
||||
bitrig*)
|
||||
;;
|
||||
|
@ -3912,6 +3919,9 @@ case "$host_os" in
|
|||
;;
|
||||
netbsd*)
|
||||
MACH_OS=nb
|
||||
LIBS="${LIBS} /usr/lib/i18n/libiconv_std.a -lm -lpthread"
|
||||
# Can't strip until ELF lookup added to startup
|
||||
enable_strip=no
|
||||
;;
|
||||
irix*)
|
||||
;;
|
||||
|
|
|
@ -183,9 +183,16 @@ case "$host_os" in
|
|||
;;
|
||||
*freebsd*)
|
||||
MACH_OS=fb
|
||||
LIBS="${LIBS} -L/usr/local/lib -liconv -lm -lpthread -lossp-uuid"
|
||||
# Can't strip until ELF lookup added to startup
|
||||
enable_strip=no
|
||||
;;
|
||||
openbsd*)
|
||||
MACH_OS=ob
|
||||
LIBS="${LIBS} -L/usr/local/lib -liconv -lm -lpthread -lossp-uuid"
|
||||
LDFLAGS="{$LDFLAGS} -Wl,-zwxneeded"
|
||||
# Can't strip until ELF lookup added to startup
|
||||
enable_strip=no
|
||||
;;
|
||||
bitrig*)
|
||||
;;
|
||||
|
@ -193,6 +200,9 @@ case "$host_os" in
|
|||
;;
|
||||
netbsd*)
|
||||
MACH_OS=nb
|
||||
LIBS="${LIBS} /usr/lib/i18n/libiconv_std.a -lm -lpthread"
|
||||
# Can't strip until ELF lookup added to startup
|
||||
enable_strip=no
|
||||
;;
|
||||
irix*)
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue
Block a user