Fix stupid fucking bug with simulator compilation
This commit is contained in:
@ -11,4 +11,9 @@ user_cflags := -DUSE_BPP=16 -std=gnu++1z -Wno-cast-qual -Wno-missing-declaration
|
||||
# ADDITIONAL_SOURCES. Since TouchGFXDesigner completely overwrites the generated
|
||||
# Makefile, we can't fix it there -- but the generated makefile includes this
|
||||
# file, so we can fix it here.
|
||||
ADDITIONAL_SOURCES := $(call subst_drivename,$(ADDITIONAL_SOURCES))
|
||||
subst_drivename = $(shell echo $(1) | sed -e 's!^\([a-zA-Z]\):/!/\1/!')
|
||||
ADDITIONAL_SOURCES := $(foreach src,$(ADDITIONAL_SOURCES),$(call subst_drivename,$(src)))
|
||||
|
||||
ifeq ($(UNAME), Linux)
|
||||
linker_options += -no-pie
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user