Parameterize strip binary in pinns/Makefile for cross-compilation
src = $(wildcard *.c)
obj = $(src:.c=.o)
+STRIP ?= strip
override LIBS +=
CFLAGS ?= -std=c99 -Os -Wall -Werror -Wextra
override CFLAGS += -static
@@ -9,7 +10,7 @@ all: ../bin/pinns
../bin/pinns: $(obj) | ../bin
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
- strip -s $@
+ $(STRIP) -s $@
../bin:
mkdir -p $@
