Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
Optimize build flags for my machine
Browse files Browse the repository at this point in the history
  • Loading branch information
cfeck committed Mar 11, 2012
1 parent a53b015 commit 8a1c7f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ set(iz_SRCS

add_definitions(-DHAVE_MMAP)

set(CMAKE_CXX_FLAGS_RELEASE "-O2 -mmmx -Winline -fomit-frame-pointer -fno-rtti -fno-exceptions")
set(CMAKE_EXE_LINKER_FLAGS "-Wl,-O1,-s,--no-export-dynamic")
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -mmmx -mtune=atom -Winline -W -Wall -fomit-frame-pointer -fno-rtti -fno-exceptions")

add_executable(iz ${iz_SRCS})

2 changes: 1 addition & 1 deletion iz.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DEPENDPATH += .
INCLUDEPATH += .
CONFIG += release
QT -= gui core
QMAKE_CXXFLAGS_RELEASE += "-O2 -mmmx -Winline -fomit-frame-pointer -fno-rtti -fno-exceptions"
QMAKE_CXXFLAGS_RELEASE += "-DHAVE_MMAP -O2 -mmmx -mtune=atom -Winline -fomit-frame-pointer -fno-rtti -fno-exceptions"

# Input
HEADERS += intmacros.h portableimage.h bitcoder.h pixel.h libiz.h iz_p.h image.h file.h
Expand Down

0 comments on commit 8a1c7f9

Please sign in to comment.