mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
gcc: backport fix for Canadian builds
* Canadian builds are broken in gcc 11.2.0 * error: 'fenv_t' has not been declared in '::' * https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587255.html * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 * https://gcc.gnu.org/g:01a70ccd723eb9a479186fe37c972b0d0f8676cf Change-Id: I0bbadd3bec5ddc4b1f1e01e7e6a648f54bfd59bf Reviewed-on: https://review.haiku-os.org/c/buildtools/+/4835 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
This commit is contained in:
parent
7b6c9e88a2
commit
b70d54b657
@ -79,7 +79,7 @@ endif
|
||||
# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
|
||||
# as the occasion calls for it.
|
||||
AM_CXXFLAGS = \
|
||||
-std=gnu++17 \
|
||||
-std=gnu++17 -nostdinc++ \
|
||||
$(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \
|
||||
$(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \
|
||||
$(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS) \
|
||||
|
@ -455,7 +455,7 @@ libc__17convenience_la_SOURCES = $(sources) $(inst_sources)
|
||||
# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
|
||||
# as the occasion calls for it.
|
||||
AM_CXXFLAGS = \
|
||||
-std=gnu++17 \
|
||||
-std=gnu++17 -nostdinc++ \
|
||||
$(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \
|
||||
$(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \
|
||||
$(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS) \
|
||||
|
Loading…
Reference in New Issue
Block a user