]>
Commit | Line | Data |
---|---|---|
b22dd630 JB |
1 | --- dmraid/configure.in.orig 2013-10-16 17:12:55.254316687 +0200 |
2 | +++ dmraid/configure.in 2013-10-16 17:27:29.530946663 +0200 | |
3 | @@ -76,7 +76,6 @@ | |
4 | if test "$KLIBC" != yes; then | |
15b6e259 JB |
5 | case "$host_os" in |
6 | linux*) | |
7 | - CFLAGS=-O2 | |
b22dd630 JB |
8 | CLDFLAGS='-Wl,--version-script,$(top_srcdir)/lib/.export.sym' |
9 | LD_DEPS='$(top_srcdir)/lib/.export.sym' | |
15b6e259 JB |
10 | SOFLAG="-shared" ;; |
11 | --- dmraid/make.tmpl.in.orig 2006-02-17 17:18:27.000000000 +0100 | |
12 | +++ dmraid/make.tmpl.in 2006-05-23 00:38:24.990584000 +0200 | |
13 | @@ -52,7 +52,7 @@ | |
14 | ||
46a44db0 | 15 | SUFFIXES=.c .d .o .so .a |
15b6e259 JB |
16 | |
17 | -CFLAGS+=-fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline | |
18 | +CFLAGS+=-Wall -Wundef -Wcast-align -Wwrite-strings -Winline | |
19 | ||
20 | ifeq ("@KLIBC@", "yes") | |
21 | # These ones make klibc compiles very loud | |
22 | @@ -66,9 +66,7 @@ | |
23 | ifeq ("@DEBUG@", "yes") | |
46a44db0 | 24 | CFLAGS+=-g -fno-omit-frame-pointer |
15b6e259 JB |
25 | else |
26 | - ifeq ("@KLIBC@", "no") | |
27 | - CFLAGS+=-O2 | |
28 | - else | |
29 | + ifeq ("@KLIBC@", "yes") | |
30 | CFLAGS+=-Os | |
31 | endif | |
32 | endif | |
b22dd630 JB |
33 | --- dmraid/lib/Makefile.in.orig 2013-10-16 17:12:55.267650018 +0200 |
34 | +++ dmraid/lib/Makefile.in 2013-10-16 17:46:41.204231665 +0200 | |
35 | @@ -65,6 +65,7 @@ | |
15b6e259 | 36 | ifeq ("@KLIBC@", "no") |
b22dd630 JB |
37 | ifeq ("@STATIC_LINK@", "no") |
38 | TARGETS += $(LIB_SHARED) $(LIB_EVENTS_SHARED) | |
39 | + CFLAGS += -fPIC | |
40 | endif | |
41 | endif | |
42 |