diff options
Diffstat (limited to 'libstdc++-v3/configure.host')
-rw-r--r-- | libstdc++-v3/configure.host | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host index cb4c28a..8375764 100644 --- a/libstdc++-v3/configure.host +++ b/libstdc++-v3/configure.host @@ -147,6 +147,9 @@ cpu_include_dir=cpu/${try_cpu} # Set specific CPU overrides for cpu_defines_dir. Most can just use generic. # THIS TABLE IS SORTED. KEEP IT THAT WAY. case "${host_cpu}" in + amdgcn) + cpu_defines_dir=cpu/gcn + ;; arm*) cpu_defines_dir=cpu/arm ;; @@ -371,11 +374,6 @@ case "${host}" in port_specific_symbol_files="\$(srcdir)/../config/os/gnu-linux/arm-eabi-extra.ver" ;; nvptx-*-none) - # For 'make all-target-libstdc++-v3', we need to inject per-file flags: - OPTIMIZE_CXXFLAGS="${OPTIMIZE_CXXFLAGS} \$(CXXFLAGS-\$(subdir)/\$@)" - # ..., see: - tmake_file="$tmake_file cpu/nvptx/t-nvptx" - # For 'make all-target-libstdc++-v3', re 'alloca'/VLA usage: EXTRA_CFLAGS="${EXTRA_CFLAGS} -mfake-ptx-alloca" OPTIMIZE_CXXFLAGS="${OPTIMIZE_CXXFLAGS} -mfake-ptx-alloca" |