diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-11-04 09:32:50 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-11-04 09:32:50 (GMT) |
commit | d01bb4a193338e851e76bd9b80f79bb9bdbc7b31 (patch) | |
tree | 3c762e5182611a280a5664d31864939c6f04fb82 | |
parent | 7050d4b7672f164144f0cef0a95aa68ad71cf9e6 (diff) | |
download | lz4-d01bb4a193338e851e76bd9b80f79bb9bdbc7b31.zip lz4-d01bb4a193338e851e76bd9b80f79bb9bdbc7b31.tar.gz lz4-d01bb4a193338e851e76bd9b80f79bb9bdbc7b31.tar.bz2 |
Makefile : added -Wcast-align compilation warning
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | programs/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ DESTDIR?= PREFIX ?= /usr CC := $(CC) CFLAGS ?= -O3 -CFLAGS += -I. -std=c99 -Wall -Wextra -Wundef -Wshadow -Wstrict-prototypes -DLZ4_VERSION=\"$(RELEASE)\" +CFLAGS += -I. -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wstrict-prototypes -DLZ4_VERSION=\"$(RELEASE)\" LIBDIR?= $(PREFIX)/lib INCLUDEDIR=$(PREFIX)/include diff --git a/programs/Makefile b/programs/Makefile index ad64340..1a81d73 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -36,7 +36,7 @@ DESTDIR?= PREFIX ?= /usr CC := $(CC) CFLAGS ?= -O3 -CFLAGS += -std=c99 -Wall -Wextra -Wundef -Wshadow -Wstrict-prototypes -DLZ4_VERSION=\"$(RELEASE)\" +CFLAGS += -std=c99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wstrict-prototypes -DLZ4_VERSION=\"$(RELEASE)\" FLAGS = -I.. $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) BINDIR=$(PREFIX)/bin |