summaryrefslogtreecommitdiff
path: root/sofort/ccenv/ccswitch.strs
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-05 10:24:32 +0000
committermidipix <writeonce@midipix.org>2021-06-05 15:09:28 +0000
commitce1060869cfd0cc44d1b5e33147c811e37d0d3e5 (patch)
treec9385742f188f0ceb5ce013cac9342eba64e03e0 /sofort/ccenv/ccswitch.strs
parentbf4444d057eec25734dbd7b96b0f5183224625ae (diff)
downloadapimagic-ce1060869cfd0cc44d1b5e33147c811e37d0d3e5.tar.bz2
apimagic-ce1060869cfd0cc44d1b5e33147c811e37d0d3e5.tar.xz
build system: ccenv: added ccenv_set_cc_linker_switch_vars().
Diffstat (limited to 'sofort/ccenv/ccswitch.strs')
-rw-r--r--sofort/ccenv/ccswitch.strs4
1 files changed, 3 insertions, 1 deletions
diff --git a/sofort/ccenv/ccswitch.strs b/sofort/ccenv/ccswitch.strs
index f27fe62..9c4f508 100644
--- a/sofort/ccenv/ccswitch.strs
+++ b/sofort/ccenv/ccswitch.strs
@@ -5,7 +5,8 @@
# ``CFLAGS_foo = -foo'' to the respective ccenv variable file
# (that is, ccenv/host.mk or ccenv/native.mk).
-# the make variable prefix is _CFLAGS_ or _NATIVE_CFLAGS_,
+# the make variable prefix is _CFLAGS_ or _NATIVE_CFLAGS_
+# (_LDFLAGS_ or _NATIVE_LDFLAGS for -Wl, linker options),
# to which the compiler-switch, minus leading dashes and
# trailing equal-sign or comma, is appended; non-leading
# dashes and non-trailing equal-signs and commas are then
@@ -24,6 +25,7 @@
-std=c11
# linker switches
+-Wl,
-Wl,--no-undefined
# errors and warnings