1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-10-06 20:04:06 +01:00
Files
Marc Bonnici 49c8fa046f instruments/poller: Ensure poller binaries are stripped
Update Makefile and rebuild binaries to strip output to reduce
file sizes.

Fixes #1296
2025-08-12 10:45:44 -05:00

18 lines
231 B
Makefile

# CROSS_COMPILE=aarch64-linux-gnu- make
#
CC=gcc
ifdef DEBUG
CFLAGS=-static -lc -g
else
CFLAGS=-static -s -lc -O2
endif
poller: poller.c
$(CROSS_COMPILE)$(CC) $(CFLAGS) poller.c -o poller
clean:
rm -rf poller
.PHONY: clean