From: Youngwan Kim Date: Tue, 31 Jul 2018 05:29:10 +0000 (+0900) Subject: [COMMON] lib: libdss: Modify build script using Makefile variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc4e702697fdf50e550489df70ebd778f54d2262;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] lib: libdss: Modify build script using Makefile variable Change-Id: I51114809b01cce728d26368787ecdd5a08389371 Signed-off-by: Youngwan Kim --- diff --git a/lib/libdss-build.sh b/lib/libdss-build.sh index 8ca383846104..9f67425eeb2c 100755 --- a/lib/libdss-build.sh +++ b/lib/libdss-build.sh @@ -1,4 +1,4 @@ -clang \ +${CC} \ --target=aarch64-linux-gnu \ -Ilib/libdss-include \ -Iinclude \ @@ -27,4 +27,4 @@ clang \ -fno-stack-check \ -g lib/libdss.c -o lib/libdss.o -aarch64-linux-android-ar -rc libdss.a lib/libdss.o +${CROSS_COMPILE}ar -rc libdss.a lib/libdss.o