2
0

110-extra-ccopts.patch 376 B

1234567891011
  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -34,7 +34,7 @@ HOSTCC = gcc
  4. DEFINES += -D_GNU_SOURCE
  5. # Turn on transparent support for LFS
  6. DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
  7. -CCOPTS = -O2
  8. +CCOPTS = -O2 $(EXTRA_CCOPTS)
  9. WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes
  10. WFLAGS += -Wmissing-declarations -Wold-style-definition -Wformat=2