summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/SETUP.sh2
-rwxr-xr-xBUILD/check-cpu3
2 files changed, 4 insertions, 1 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index 8a7238c359f..992cfa1286f 100755
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -141,7 +141,7 @@ elif [ "x$warning_mode" = "xmaintainer" ]; then
debug_extra_cflags="-g3"
else
# Both C and C++ warnings
- warnings="-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-strict-aliasing"
+ warnings="-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-strict-aliasing -Wimplicit-fallthrough=2"
# For more warnings, uncomment the following line
# warnings="$warnings -Wshadow"
diff --git a/BUILD/check-cpu b/BUILD/check-cpu
index 814c217c070..d62e154588f 100755
--- a/BUILD/check-cpu
+++ b/BUILD/check-cpu
@@ -262,6 +262,9 @@ check_cpu () {
*AuthenticAMD*)
cpu_arg="k6"
;;
+ *HygonGenuine*)
+ cpu_arg="k8"
+ ;;
*VIA\ *)
cpu_arg="i686"
;;