From 4e514ca2a29ee86eaad491f64ec250beb3c6f9c4 Mon Sep 17 00:00:00 2001 From: n-a-c-h Date: Mon, 9 Jun 2008 19:49:02 +0000 Subject: [PATCH] Squash some warnings. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")