Skip to content

Commit

Permalink
Cleaned up GCC compiler flags in CMakeLists.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 24, 2009
1 parent 2345ab2 commit 99caed8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Expand Up @@ -10,11 +10,14 @@ EXECUTE_PROCESS(
OUTPUT_STRIP_TRAILING_WHITESPACE
)

IF(CMAKE_COMPILER_IS_GNUCC)
ADD_DEFINITIONS(-pipe -fsigned-char -Wall -Werror)
ENDIF(CMAKE_COMPILER_IS_GNUCC)

ADD_DEFINITIONS(-DAPPID=fatelf)
ADD_DEFINITIONS(-DAPPREV="${FATELF_VERSION}")

INCLUDE_DIRECTORIES(include)
ADD_DEFINITIONS(-Wall -Werror)

ADD_LIBRARY(fatelf-utils STATIC utils/fatelf-utils.c)

Expand Down

0 comments on commit 99caed8

Please sign in to comment.