diff options
author | midipix <writeonce@midipix.org> | 2021-06-05 17:15:37 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-05 17:16:23 +0000 |
commit | 2aae4e7c0a00eb45b2fcb816e3d5d68c06876bd3 (patch) | |
tree | 60d6817eba7256cc470de5854a9920097dda3da9 /sofort/ccenv | |
parent | 2b8e3609cd6d90df27c57b220c44c67ed38fd310 (diff) | |
download | ptycon-2aae4e7c0a00eb45b2fcb816e3d5d68c06876bd3.tar.bz2 ptycon-2aae4e7c0a00eb45b2fcb816e3d5d68c06876bd3.tar.xz |
build system: ccenv_set_cc_switch_vars(): account for pedefs.in.
Diffstat (limited to 'sofort/ccenv')
-rw-r--r-- | sofort/ccenv/ccenv.in | 2 | ||||
-rw-r--r-- | sofort/ccenv/ccenv.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sofort/ccenv/ccenv.in b/sofort/ccenv/ccenv.in index 1f78935..5c78ffb 100644 --- a/sofort/ccenv/ccenv.in +++ b/sofort/ccenv/ccenv.in @@ -86,5 +86,3 @@ LD = @ccenv_ld@ CFLAGS_OS += -DOS_LIB_SUFFIX=\"@ccenv_os_lib_suffix@\" CFLAGS_OS += @ccenv_cflags_os@ CFLAGS_PIC += @ccenv_cflags_pic@ - -# @ccenv_cfgtype@ cflags: supported compiler switches 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 \ |