Avoid clobbering CMAKE_C_FLAGS for bist tool
Set CMAKE_C_FLAGS for bist tool to include ${CMAKE_C_FLAGS} to avoid overriding default flags
@@ -29,7 +29,7 @@ include_directories(${OPAE_INCLUDE_DIR}
add_executable(bist_app bist_afu.c)
set_install_rpath(bist_app)
-set(CMAKE_C_FLAGS "-std=c99")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
target_link_libraries(bist_app opae-c json-c uuid rt ${CMAKE_THREAD_LIBS_INIT})
install(TARGETS bist_app
