aboutsummaryrefslogtreecommitdiff
path: root/config/comp_libs
diff options
context:
space:
mode:
Diffstat (limited to 'config/comp_libs')
-rw-r--r--config/comp_libs/gmp.in5
-rw-r--r--config/comp_libs/ncurses.in5
2 files changed, 10 insertions, 0 deletions
diff --git a/config/comp_libs/gmp.in b/config/comp_libs/gmp.in
index f49d1a71..7baac528 100644
--- a/config/comp_libs/gmp.in
+++ b/config/comp_libs/gmp.in
@@ -1 +1,6 @@
# GMP options
+config GMP_EXTRA_CFLAGS
+ string "extra target CFLAGS"
+ default "-std=gnu17" if GCC_15_or_later
+ help
+ Extra target CFLAGS to use when building.
diff --git a/config/comp_libs/ncurses.in b/config/comp_libs/ncurses.in
index 4e7e6d47..3d257439 100644
--- a/config/comp_libs/ncurses.in
+++ b/config/comp_libs/ncurses.in
@@ -55,3 +55,8 @@ config NCURSES_TARGET_FALLBACKS
List of terminal descriptions that will be compiled into the curses
library for the target.
+config NCURSES_EXTRA_CFLAGS
+ string "extra target CFLAGS"
+ default "-std=gnu17" if GCC_15_or_later
+ help
+ Extra target CFLAGS fto use when building.