mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
CMake: Make compiler flags selection and detection more flexible.
- Fix for RelWithDebInfo and MinSizeRel build types - Use -march=native instead of handcrafted detection when possible - Refactor whole thing to reduce code duplication
This commit is contained in:
Vendored
+1
-2
@@ -2,9 +2,8 @@
|
||||
%:
|
||||
dh $@ --parallel --buildsystem=cmake+ninja
|
||||
|
||||
# FORCE_SSE41 will be not accepted upstream
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- -DFORCE_SSE41=ON -DENABLE_EXTERNAL_LIBRARIES=ON -DDEBUG_OUTPUT=ON -DBUILD_SERVER=OFF
|
||||
dh_auto_configure -- -DARCH_OPT=nehalem -DENABLE_EXTERNAL_LIBRARIES=ON -DDEBUG_OUTPUT=ON -DBUILD_SERVER=OFF
|
||||
|
||||
override_dh_auto_test:
|
||||
echo "Skipping test step"
|
||||
|
||||
Reference in New Issue
Block a user