summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/openttd/files/openttd-1.2.0-cflags.patch')
-rw-r--r--games-simulation/openttd/files/openttd-1.2.0-cflags.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/games-simulation/openttd/files/openttd-1.2.0-cflags.patch b/games-simulation/openttd/files/openttd-1.2.0-cflags.patch
deleted file mode 100644
index f79915ecf600..000000000000
--- a/games-simulation/openttd/files/openttd-1.2.0-cflags.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- config.lib.orig
-+++ config.lib
-@@ -1357,14 +1357,12 @@
- CFLAGS="-I/gg/os-include -noixemul -fstrict-aliasing -fexpensive-optimizations -mcpu=604 -fno-inline -mstring -mmultiple $CFLAGS"
- LDFLAGS="$LDFLAGS -noixemul"
- fi
--
-- CFLAGS="-O2 -fomit-frame-pointer $CFLAGS"
- else
- OBJS_SUBDIR="debug"
-
- # Each debug level reduces the optimization by a bit
- if [ $enable_debug -ge 1 ]; then
-- CFLAGS="$CFLAGS -g -D_DEBUG"
-+ CFLAGS="-D_DEBUG $CFLAGS"
- if basename "$cc_host" | grep "gcc" &>/dev/null; then
- # Define only when compiling with GCC, some
- # GLIBC versions use GNU extensions in a way
-@@ -1375,14 +1373,6 @@
- CFLAGS="$CFLAGS -G0"
- fi
- fi
-- if [ $enable_debug -ge 2 ]; then
-- CFLAGS="$CFLAGS -fno-inline"
-- fi
-- if [ $enable_debug -ge 3 ]; then
-- CFLAGS="$CFLAGS -O0"
-- else
-- CFLAGS="$CFLAGS -O2"
-- fi
- fi
-
- if [ "$os" = "OSX" ] && [ $cc_version -eq 40 ]; then
-@@ -1391,11 +1381,6 @@
- CFLAGS="$CFLAGS -fno-expensive-optimizations"
- fi
-
-- if [ "$enable_profiling" != "0" ]; then
-- CFLAGS="$CFLAGS -p"
-- LDFLAGS="$LDFLAGS -pg"
-- fi
--
- if [ "$with_threads" = "0" ]; then
- CFLAGS="$CFLAGS -DNO_THREADS"
- fi