summaryrefslogtreecommitdiff
path: root/sofort/ccenv/ccenv.sh
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-05 17:15:37 +0000
committermidipix <writeonce@midipix.org>2021-06-05 17:15:37 +0000
commitda093c0561c1d6a196b49f9a55012d7954bc767f (patch)
tree9f9f14281d820892692fc28c9995f0babc903813 /sofort/ccenv/ccenv.sh
parentdb8d9ab5882a86ce2103dfd304b42f7729d00766 (diff)
downloadslibtool-da093c0561c1d6a196b49f9a55012d7954bc767f.tar.bz2
slibtool-da093c0561c1d6a196b49f9a55012d7954bc767f.tar.xz
build system: ccenv_set_cc_switch_vars(): account for pedefs.in.
Diffstat (limited to 'sofort/ccenv/ccenv.sh')
-rw-r--r--sofort/ccenv/ccenv.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index d1d6085..47fc587 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -1448,6 +1448,9 @@ ccenv_output_defs()
ccenv_set_cc_switch_vars()
{
+ printf '\n# %s cflags: supported compiler switches\n' "$ccenv_cfgtype" \
+ >> "$ccenv_mk"
+
if [ -f $mb_project_dir/project/config/ccswitch.strs ]; then
ccenv_switch_vars=$(cat \
$mb_project_dir/sofort/ccenv/ccswitch.strs \