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

Commit 365ce999 authored by Tyler Baker's avatar Tyler Baker Committed by Shuah Khan
Browse files

selftest/mount: 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 52dd5576
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
# Makefile for mount selftests.
# Makefile for mount selftests.

CFLAGS = -Wall \
         -O2
all: unprivileged-remount-test
all: unprivileged-remount-test


unprivileged-remount-test: unprivileged-remount-test.c
unprivileged-remount-test: unprivileged-remount-test.c
	gcc -Wall -O2 unprivileged-remount-test.c -o unprivileged-remount-test
	$(CC) $(CFLAGS) unprivileged-remount-test.c -o unprivileged-remount-test


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