]> git.pld-linux.org Git - packages/dmraid.git/blob - dmraid-optflags.patch
- fix bcond
[packages/dmraid.git] / dmraid-optflags.patch
1 --- dmraid/configure.in.orig    2006-02-17 21:15:43.000000000 +0100
2 +++ dmraid/configure.in 2006-05-23 00:35:44.244538000 +0200
3 @@ -52,7 +52,6 @@
4  if test x$KLIBC != xyes; then
5         case "$host_os" in
6                 linux*)
7 -                       CFLAGS=-O2
8                         CLDFLAGS="-Wl,--version-script,.export.sym"
9                         LD_DEPS=".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 2006-05-23 00:31:05.387110000 +0200
34 +++ dmraid/lib/Makefile.in      2006-05-23 00:38:49.340105750 +0200
35 @@ -46,6 +46,7 @@
36  
37  ifeq ("@KLIBC@", "no")
38    ifeq ("@LIB_SO@", "yes")
39 +    CFLAGS += -fPIC
40      LIB_SHARED=$(top_srcdir)/lib/libdmraid.so
41      TARGETS += $(LIB_SHARED)
42      INSTALL_TARGETS += $(LIB_SHARED)
This page took 0.040089 seconds and 3 git commands to generate.