Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dpldgr committed Nov 10, 2024
1 parent 4d5f1c7 commit f412240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ endif
### ==========================================================================

### 3.1 Selecting compiler (default = gcc)
CXXFLAGS += -Wl,-stack,33554432 -Wall -Wcast-qual -fno-exceptions -std=c++17 $(EXTRACXXFLAGS)
CXXFLAGS += -Wall -Wcast-qual -fno-exceptions -std=c++17 $(EXTRACXXFLAGS)
DEPENDFLAGS += -std=c++17
LDFLAGS += $(EXTRALDFLAGS)

Expand Down Expand Up @@ -937,7 +937,7 @@ config-sanity: $(load_net)
|| test "$(comp)" = "armv7a-linux-androideabi16-clang" || test "$(comp)" = "aarch64-linux-android21-clang"

$(EXE): $(OBJS)
+$(CXX) -o $@ $(OBJS) $(LDFLAGS)
+$(CXX) -Wl,--stack,33554432 -o $@ $(OBJS) $(LDFLAGS)

clang-profile-make:
$(MAKE) ARCH=$(ARCH) COMP=$(COMP) \
Expand Down

0 comments on commit f412240

Please sign in to comment.