Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6886f41d authored by Tyler Baker's avatar Tyler Baker Committed by Shuah Khan
Browse files

selftest/mqueue: enable cross compilation



Use the CC variable instead of hard coding gcc. Also clean up the compiler
options by creating a CFLAGS variable.

Signed-off-by: default avatarTyler Baker <tyler.baker@linaro.org>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 5de83049
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
CFLAGS = -O2

all:
all:
	gcc -O2 mq_open_tests.c -o mq_open_tests -lrt
	$(CC) $(CFLAGS) mq_open_tests.c -o mq_open_tests -lrt
	gcc -O2 -o mq_perf_tests mq_perf_tests.c -lrt -lpthread -lpopt
	$(CC) $(CFLAGS) -o mq_perf_tests mq_perf_tests.c -lrt -lpthread -lpopt


include ../lib.mk
include ../lib.mk