diff options
author | Richard Purdie <richard@openedhand.com> | 2006-06-13 13:56:15 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-06-13 13:56:15 +0000 |
commit | 558f9a2c76bb78af56f7b054539f50cf603fb87f (patch) | |
tree | 7a71b4f56d88fcdefeb1c5912269c6ed3862ca9a /openembedded/packages/udev/udev-092/flags.patch | |
parent | 01db9147c9f532595a1eb44fd26de89daffb0316 (diff) | |
download | poky-558f9a2c76bb78af56f7b054539f50cf603fb87f.tar.gz |
Add udev 092
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@474 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/udev/udev-092/flags.patch')
-rw-r--r-- | openembedded/packages/udev/udev-092/flags.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/openembedded/packages/udev/udev-092/flags.patch b/openembedded/packages/udev/udev-092/flags.patch new file mode 100644 index 0000000000..492a39881c --- /dev/null +++ b/openembedded/packages/udev/udev-092/flags.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | --- udev-089/Makefile.orig 2006-04-08 13:32:53.000000000 +0200 | ||
2 | +++ udev-089/Makefile 2006-04-08 13:34:27.000000000 +0200 | ||
3 | @@ -117,28 +117,28 @@ | ||
4 | AR = $(CROSS_COMPILE)ar | ||
5 | RANLIB = $(CROSS_COMPILE)ranlib | ||
6 | |||
7 | -CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 | ||
8 | +override CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 | ||
9 | WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \ | ||
10 | -Wchar-subscripts -Wmissing-declarations -Wnested-externs \ | ||
11 | -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes | ||
12 | -CFLAGS += $(WARNINGS) | ||
13 | +override CFLAGS += $(WARNINGS) | ||
14 | |||
15 | LDFLAGS = -Wl,-warn-common | ||
16 | |||
17 | OPTFLAGS = -Os | ||
18 | -CFLAGS += $(OPTFLAGS) | ||
19 | +override CFLAGS += $(OPTFLAGS) | ||
20 | |||
21 | ifeq ($(strip $(USE_LOG)),true) | ||
22 | - CFLAGS += -DUSE_LOG | ||
23 | + override CFLAGS += -DUSE_LOG | ||
24 | endif | ||
25 | |||
26 | # if DEBUG is enabled, then we do not strip | ||
27 | ifeq ($(strip $(DEBUG)),true) | ||
28 | - CFLAGS += -DDEBUG | ||
29 | + override CFLAGS += -DDEBUG | ||
30 | endif | ||
31 | |||
32 | ifeq ($(strip $(USE_GCOV)),true) | ||
33 | - CFLAGS += -fprofile-arcs -ftest-coverage | ||
34 | + override CFLAGS += -fprofile-arcs -ftest-coverage | ||
35 | LDFLAGS += -fprofile-arcs | ||
36 | endif | ||
37 | |||
38 | @@ -151,11 +151,11 @@ | ||
39 | ifeq ($(strip $(USE_SELINUX)),true) | ||
40 | UDEV_OBJS += udev_selinux.o | ||
41 | LIB_OBJS += -lselinux -lsepol | ||
42 | - CFLAGS += -DUSE_SELINUX | ||
43 | + override CFLAGS += -DUSE_SELINUX | ||
44 | endif | ||
45 | |||
46 | ifeq ($(strip $(USE_STATIC)),true) | ||
47 | - CFLAGS += -DUSE_STATIC | ||
48 | + override CFLAGS += -DUSE_STATIC | ||
49 | LDFLAGS += -static | ||
50 | endif | ||
51 | |||