diff options
author | Taijian | 2023-04-30 18:03:18 +0200 |
---|---|---|
committer | Taijian | 2023-04-30 18:03:18 +0200 |
commit | 2bbfe28010ae41a3b1c86d9c25a6f290c684d73c (patch) | |
tree | 914baa11ce95f6fd7f51e830515f40560539611c /choose-gcc-optimization.sh | |
parent | b22e68a9a1b450e86ef9a67dcfaea475633a4f4f (diff) | |
download | aur-2bbfe28010ae41a3b1c86d9c25a6f290c684d73c.tar.gz |
update to 6.2.12-2
Diffstat (limited to 'choose-gcc-optimization.sh')
-rwxr-xr-x | choose-gcc-optimization.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/choose-gcc-optimization.sh b/choose-gcc-optimization.sh index f10eec54b81d..140c4ac144ef 100755 --- a/choose-gcc-optimization.sh +++ b/choose-gcc-optimization.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash . /usr/share/makepkg/util/message.sh -colorize +[[ -t 1 ]] && colorize Detect_CPU=$(gcc -c -Q -march=native --help=target | grep march | awk '{print $2}' | head -1) @@ -134,6 +134,7 @@ msg "Building this package for microarchitecture: $Microarchitecture$default" sleep 5 sed -e 's|^CONFIG_GENERIC_CPU=y|# CONFIG_GENERIC_CPU is not set|g' -i .config +sed -e 's|^CONFIG_GENERIC_CPU2=y|# CONFIG_GENERIC_CPU2 is not set|g' -i .config sed -e "s|^# $Microarchitecture is not set|$Microarchitecture=y|g" -i .config echo |