Skip to content

Commit

Permalink
Update iqa Makefile to fix cross compilation
Browse files Browse the repository at this point in the history
gcc is set as default compiler in iqa Makefile, causing the build to
fail when using a different compiler. Change the Makefile to use the
environment CC variable if it is set.

Signed-off-by: Lukas Fleischer <[email protected]>
  • Loading branch information
AFettes authored and lfos committed Dec 23, 2019
1 parent 05641f7 commit e3deb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iqa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SRC= \
OBJ = $(SRC:.c=.o)

INCLUDES = -I./include
CC = gcc
CC ?= gcc

ifeq ($(RELEASE),1)
OUTDIR=./build/release
Expand Down

0 comments on commit e3deb06

Please sign in to comment.