From 342a68f9daa064f1c9167a2c93b2267dc1a29f4f Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sun, 20 Dec 2015 10:05:04 +0800 Subject: [PATCH] fix setting cross compilation variables. this is ported over from Capstone --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 967fb65c..553f71c0 100644 --- a/Makefile +++ b/Makefile @@ -70,11 +70,11 @@ AR ?= ar RANLIB ?= ranlib STRIP ?= strip else -CC ?= $(CROSS)-gcc -AR ?= $(CROSS)-ar -RANLIB ?= $(CROSS)-ranlib -STRIP ?= $(CROSS)-strip -GLIB="-L/usr/$(CROSS)/lib/ -lglib-2.0" +CC = $(CROSS)-gcc +AR = $(CROSS)-ar +RANLIB = $(CROSS)-ranlib +STRIP = $(CROSS)-strip +GLIB = "-L/usr/$(CROSS)/lib/ -lglib-2.0" endif # Find GLIB