diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,7 +53,7 @@ endif | |||
53 | 53 | ||
54 | # Add platform related linker flag | 54 | # Add platform related linker flag |
55 | ifneq ($(UNAME_S),Darwin) | 55 | ifneq ($(UNAME_S),Darwin) |
56 | LINK_FLAGS += -lstdc++fs | 56 | LINK_FLAGS += -lstdc++fs -Wl,-E |
57 | endif | 57 | endif |
58 | 58 | ||
59 | # Function used to check variables. Use on the command line: | 59 | # Function used to check variables. Use on the command line: |
@@ -268,7 +268,7 @@ all: $(BIN_PATH)/$(BIN_NAME) | |||
268 | $(BIN_PATH)/$(BIN_NAME): $(OBJECTS) | 268 | $(BIN_PATH)/$(BIN_NAME): $(OBJECTS) |
269 | @echo "Linking: $@" | 269 | @echo "Linking: $@" |
270 | @$(START_TIME) | 270 | @$(START_TIME) |
271 | $(CMD_PREFIX)$(CXX) $(OBJECTS) $(LDFLAGS) -o $@ -Wl,-E | 271 | $(CMD_PREFIX)$(CXX) $(OBJECTS) $(LDFLAGS) -o $@ |
272 | @echo -en "\t Link time: " | 272 | @echo -en "\t Link time: " |
273 | @$(END_TIME) | 273 | @$(END_TIME) |
274 | 274 | ||