]> git.pld-linux.org Git - packages/dmraid.git/blob - dmraid-optflags.patch
rediff patches
[packages/dmraid.git] / dmraid-optflags.patch
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
5         case "$host_os" in
6                 linux*)
7 -                       CFLAGS=-O2
8                         CLDFLAGS='-Wl,--version-script,$(top_srcdir)/lib/.export.sym'
9                         LD_DEPS='$(top_srcdir)/lib/.export.sym'
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  
15  SUFFIXES=.c .o .so .a
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")
24    CFLAGS+=-g -fno-omit-frame-pointer -DDEBUG
25  else
26 -  ifeq ("@KLIBC@", "no")
27 -    CFLAGS+=-O2
28 -  else
29 +  ifeq ("@KLIBC@", "yes")
30      CFLAGS+=-Os
31    endif
32  endif
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 @@
36  ifeq ("@KLIBC@", "no")
37         ifeq ("@STATIC_LINK@", "no")
38                 TARGETS += $(LIB_SHARED) $(LIB_EVENTS_SHARED)
39 +               CFLAGS += -fPIC
40         endif
41  endif
42  
This page took 0.120995 seconds and 3 git commands to generate.