Fix build error by adding -fno-stack-protector to CFLAGS in usr/LBuild (#63)
[lunaix-os.git] / lunaix-os / tests / shared / makefile
1 include $(LUNAIX_ROOT)/makeinc/utils.mkinc
2
3 lunaix-root := $(LUNAIX_ROOT)
4 unit-test-root := $(lunaix-root)/tests/units
5 test-root := $(lunaix-root)/tests
6 test-shared-root := $(test-root)/shared
7
8 CFLAGS += -idirafter $(lunaix-root)/includes    \
9                   -I $(test-root)/includes \
10                   -Wno-discarded-qualifiers \
11                   -Wno-scalar-storage-order \
12                   -Werror \
13                   -g \
14                   -D__off_t_defined
15
16 obj-shared := $(test-shared-root)/framework.o   \
17                                 $(test-shared-root)/memchk.o