mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
readenergy: fixing the Makefile
CFLAGS in the makefile were being specified incorrectly. - the single quotes for forcing all options to be passed as a single token by the shell. - Specifying -static and -lc via -Wl is not needed.
This commit is contained in:
parent
32a975be74
commit
8300344f70
@ -4,7 +4,7 @@
|
||||
#
|
||||
CROSS_COMPILE?=aarch64-linux-gnu-
|
||||
CC=$(CROSS_COMPILE)gcc
|
||||
CFLAGS='-Wl,-static -Wl,-lc'
|
||||
CFLAGS=-static -lc
|
||||
|
||||
readenergy: readenergy.c
|
||||
$(CC) $(CFLAGS) readenergy.c -o readenergy
|
||||
|
Loading…
x
Reference in New Issue
Block a user