mirror of
https://github.com/lz4/lz4.git
synced 2024-11-27 11:53:59 +08:00
new test case with fPIE
This commit is contained in:
parent
cc21115cb4
commit
7819d58787
@ -130,7 +130,7 @@ matrix:
|
||||
packages:
|
||||
- clang
|
||||
|
||||
- env: Ubu=14.04 Cmd='make clean all CC=gcc-4.4 MOREFLAGS=-Werror' COMPILER=gcc-4.4
|
||||
- env: Ubu=14.04 Cmd='make clean all CC=gcc-4.4 MOREFLAGS=-Werror && make clean && CFLAGS=-fPIC LDFLAGS="-pie -fPIE -D_FORTIFY_SOURCE=2" make -C programs' COMPILER=gcc-4.4
|
||||
dist: trusty
|
||||
sudo: required
|
||||
addons:
|
||||
|
@ -85,7 +85,7 @@ lib-release: lib
|
||||
liblz4.a: *.c
|
||||
ifeq ($(BUILD_STATIC),yes)
|
||||
@echo compiling static library
|
||||
@$(CC) $(FLAGS) -c $^
|
||||
@$(CC) $(CPPFLAGS) $(CFLAGS) -c $^
|
||||
@$(AR) rcs $@ *.o
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user