|
@@ -29,7 +29,8 @@ FILES= \
|
|
test-timerfd.bin \
|
|
test-timerfd.bin \
|
|
test-libdw-dwarf-unwind.bin \
|
|
test-libdw-dwarf-unwind.bin \
|
|
test-compile-32.bin \
|
|
test-compile-32.bin \
|
|
- test-compile-x32.bin
|
|
|
|
|
|
+ test-compile-x32.bin \
|
|
|
|
+ test-zlib.bin
|
|
|
|
|
|
CC := $(CROSS_COMPILE)gcc -MD
|
|
CC := $(CROSS_COMPILE)gcc -MD
|
|
PKG_CONFIG := $(CROSS_COMPILE)pkg-config
|
|
PKG_CONFIG := $(CROSS_COMPILE)pkg-config
|
|
@@ -41,7 +42,7 @@ BUILD = $(CC) $(CFLAGS) -o $(OUTPUT)$@ $(patsubst %.bin,%.c,$@) $(LDFLAGS)
|
|
###############################
|
|
###############################
|
|
|
|
|
|
test-all.bin:
|
|
test-all.bin:
|
|
- $(BUILD) -Werror -fstack-protector-all -O2 -Werror -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lelf -laudit -I/usr/include/slang -lslang $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) $(FLAGS_PERL_EMBED) $(FLAGS_PYTHON_EMBED) -DPACKAGE='"perf"' -lbfd -ldl
|
|
|
|
|
|
+ $(BUILD) -Werror -fstack-protector-all -O2 -Werror -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lelf -laudit -I/usr/include/slang -lslang $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) $(FLAGS_PERL_EMBED) $(FLAGS_PYTHON_EMBED) -DPACKAGE='"perf"' -lbfd -ldl -lz
|
|
|
|
|
|
test-hello.bin:
|
|
test-hello.bin:
|
|
$(BUILD)
|
|
$(BUILD)
|
|
@@ -139,6 +140,9 @@ test-compile-32.bin:
|
|
test-compile-x32.bin:
|
|
test-compile-x32.bin:
|
|
$(CC) -mx32 -o $(OUTPUT)$@ test-compile.c
|
|
$(CC) -mx32 -o $(OUTPUT)$@ test-compile.c
|
|
|
|
|
|
|
|
+test-zlib.bin:
|
|
|
|
+ $(BUILD) -lz
|
|
|
|
+
|
|
-include *.d
|
|
-include *.d
|
|
|
|
|
|
###############################
|
|
###############################
|