projects
/
b43-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
assembler: Make wrapper script posix shell compliant.
[b43-tools.git]
/
disassembler
/
Makefile
diff --git
a/disassembler/Makefile
b/disassembler/Makefile
index bf2e19786d579be5bc72743ed23aa87694299ee4..fe59ece3be6c80572ab659e2e93fa926871a9a19 100644
(file)
--- a/
disassembler/Makefile
+++ b/
disassembler/Makefile
@@
-14,8
+14,10
@@
QUIET_SPARSE = @/bin/true
endif
PREFIX ?= /usr/local
endif
PREFIX ?= /usr/local
-CFLAGS ?= -O2 -fomit-frame-pointer
-CFLAGS += -std=gnu99 -Wall -D_BSD_SOURCE -D_GNU_SOURCE
+CFLAGS ?= -O2 -fomit-frame-pointer -pipe
+CFLAGS += -std=gnu99 -D_GNU_SOURCE \
+ -Wall -Wextra -Wformat=2 -Wundef -Wno-unused-parameter \
+ -Wshadow -Wpointer-arith
SPARSEFLAGS = $(CFLAGS) -D__transparent_union__=__unused__ -D_STRING_ARCH_unaligned=1
LDFLAGS ?=
SPARSEFLAGS = $(CFLAGS) -D__transparent_union__=__unused__ -D_STRING_ARCH_unaligned=1
LDFLAGS ?=