diff --git a/platforms/linux/CMakeLists.txt b/platforms/linux/CMakeLists.txt index 017bf6774..5786ee6e0 100644 --- a/platforms/linux/CMakeLists.txt +++ b/platforms/linux/CMakeLists.txt @@ -25,6 +25,7 @@ target_compile_options (slideruleLib PUBLIC -Wall) # turn on "all" warnings target_compile_options (slideruleLib PUBLIC -Wextra) # turn on "extra" warnings target_compile_options (slideruleLib PUBLIC -Wreorder) # turn on warning for object initializer list order enforcement target_compile_options (slideruleLib PUBLIC -Wshadow) # turn on warning for inner scope var with same name as outer scope var +target_compile_options (slideruleLib PUBLIC -Wno-psabi) # suppress ABI compatibility notes (e.g., C++17 parameter passing changes) target_compile_options (slideruleLib PUBLIC "$<$:-fstack-protector-all>") target_compile_definitions (slideruleLib PUBLIC "$<$:__no_unload__>") # don't unload dynamic modules when in debug so symbols available to address sanitizer postmortem diff --git a/targets/slideruleearth/Makefile b/targets/slideruleearth/Makefile index 15c199729..a82eacf9b 100644 --- a/targets/slideruleearth/Makefile +++ b/targets/slideruleearth/Makefile @@ -132,8 +132,8 @@ RELEASE_CFG := -DCMAKE_BUILD_TYPE=Release RELEASE_CFG += $(COMMON_CFG) all: ## build the server using the local configuration - make -j8 -C $(SLIDERULE_BUILD_DIR) - make -C $(SLIDERULE_BUILD_DIR) install + @set -o pipefail; make -j8 -C $(SLIDERULE_BUILD_DIR) 2>&1 | grep -v "parameter passing for argument of type.*when C..17 is enabled" || test $$? -eq 141 + @set -o pipefail; make -C $(SLIDERULE_BUILD_DIR) install 2>&1 | grep -v "parameter passing for argument of type.*when C..17 is enabled" || test $$? -eq 141 prep: ## create temporary directories needed for build mkdir -p $(SLIDERULE_BUILD_DIR)