selftest/ipc: enable cross compilation

Use the CC variable instead of hard coding gcc.

Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
This commit is contained in:
Tyler Baker 2015-04-01 16:20:19 -07:00 committed by Shuah Khan
parent ab923bb9e2
commit 5de8304904

View File

@ -12,11 +12,7 @@ endif
CFLAGS += -I../../../../usr/include/
all:
ifeq ($(ARCH),x86)
gcc $(CFLAGS) msgque.c -o msgque_test
else
echo "Not an x86 target, can't build msgque selftest"
endif
$(CC) $(CFLAGS) msgque.c -o msgque_test
TEST_PROGS := msgque_test