diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c41a078..e6b51e43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,9 +83,9 @@ ENDIF( NOT USE_ASM_CORE ) # Compiler flags IF ( WIN32 ) - SET( CMAKE_ASM_FLAGS "-Isrc/hq/asm/ -O1") + SET( CMAKE_ASM_FLAGS "-Isrc/hq/asm/ -O1 -w-orphan-labels") ELSE ( WIN32 ) - SET( CMAKE_ASM_FLAGS "-Isrc/hq/asm/ -O1 -DELF") + SET( CMAKE_ASM_FLAGS "-Isrc/hq/asm/ -O1 -DELF -w-orphan-labels") ENDIF ( WIN32 ) SET( CMAKE_C_FLAGS "-O3 -Wall") SET( CMAKE_CXX_FLAGS "-O3 -Wall")