11 lines
189 B
Text
11 lines
189 B
Text
|
|
. ./redoconf.rc
|
||
|
|
rc_include rc/CC.rc
|
||
|
|
|
||
|
|
x="-Wl,-z,defs"
|
||
|
|
rc_appendln LDFLAGS "$x"
|
||
|
|
if rc_compile cc link; then
|
||
|
|
rc_save
|
||
|
|
else
|
||
|
|
echo "'$x' doesn't work on this platform; skipped." >&2
|
||
|
|
rc_undo
|
||
|
|
fi
|