summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3df076d..9431461 100644
--- a/Makefile
+++ b/Makefile
@@ -45,10 +45,11 @@ PKGCFDIR=$(LIBDIR)/pkgconfig
# Commands
INSTALL=install
DIRINSTALL=install -d
-STRIP=-s
ifdef CROSS_COMPILE
+STRIP=--strip-program $(CROSS_COMPILE)-strip
CC=$(CROSS_COMPILE)gcc
else
+STRIP=-s
CC=cc
endif
AR=$(CROSS_COMPILE)ar