From: Kunhoon Baik Date: Wed, 8 Sep 2021 02:12:18 +0000 (+0900) Subject: Add mthumb option to Linker flag X-Git-Tag: submit/tizen/20210908.021401^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e72e49a09008046f0d69b4438444dfe4ea462266;p=platform%2Fupstream%2Fnsjail.git Add mthumb option to Linker flag For supporting mthumb (+lto) in compiler 9.2, -mthumb should be also applied to "link flags" --- diff --git a/Makefile b/Makefile index cb22a93..98bf088 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ COMMON_FLAGS += -O2 -c \ CXXFLAGS += $(USER_DEFINES) $(COMMON_FLAGS) $(shell pkg-config --cflags protobuf) \ -std=c++11 -fno-exceptions -Wno-unused -Wno-unused-parameter -LDFLAGS += -pie -Wl,-z,noexecstack -lpthread $(shell pkg-config --libs protobuf) +LDFLAGS += -pie -Wl,-z,noexecstack -mthumb -lpthread $(shell pkg-config --libs protobuf) BIN = nsjail LIBS = kafel/libkafel.a