--- host/libhackrf/CMakeLists.txt.orig +++ host/libhackrf/CMakeLists.txt @@ -37,7 +37,6 @@ set(THREADS_USE_PTHREADS_WIN32 true) else() add_definitions(-Wall) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") INCLUDE(TestBigEndian) TEST_BIG_ENDIAN(BIGENDIAN) --- host/hackrf-tools/CMakeLists.txt.orig +++ host/hackrf-tools/CMakeLists.txt @@ -33,7 +33,6 @@ add_definitions(/D _CRT_SECURE_NO_WARNINGS) else() add_definitions(-Wall) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") endif() if(NOT libhackrf_SOURCE_DIR)