Skip to content

Commit

Permalink
libuuu/CMakeLists.txt: don't overwrite CMAKE_CXX_FLAGS
Browse files Browse the repository at this point in the history
Don't overwrite CMAKE_CXX_FLAGS in libuuu/CMakeLists.txt to fix build of
mfgtools on buildroot

See https://bugs.buildroot.org/show_bug.cgi?id=12391

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  • Loading branch information
ffontaine authored and nxpfrankli committed May 20, 2020
1 parent 4fe24b9 commit ea8eb86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libuuu/CMakeLists.txt
Expand Up @@ -24,7 +24,7 @@ include_directories(${LIBUSB_INCLUDE_DIRS} ${UUUOPENSLL_INCLUDE_DIR} include)


set(CMAKE_CXX_FLAGS_DEBUG "-g -Wall -Wstrict-aliasing -Wextra ${UUUSSL}")
set(CMAKE_CXX_FLAGS "-O2 ${UUUSSL}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 ${UUUSSL}")

set(SOURCES
error.cpp
Expand Down

0 comments on commit ea8eb86

Please sign in to comment.