33 lines
688 B
Diff
33 lines
688 B
Diff
--- a/src/Makefile 2023-07-02 17:28:33.297238434 +0200
|
|
+++ b/src/Makefile 2023-07-02 17:28:50.820207636 +0200
|
|
@@ -377,29 +377,7 @@
|
|
|
|
ifeq ($(COMP),gcc)
|
|
comp=gcc
|
|
- CXX=g++
|
|
CXXFLAGS += -pedantic -Wextra -Wshadow -Wmissing-declarations
|
|
-
|
|
- ifeq ($(arch),$(filter $(arch),armv7 armv8 riscv64))
|
|
- ifeq ($(OS),Android)
|
|
- CXXFLAGS += -m$(bits)
|
|
- LDFLAGS += -m$(bits)
|
|
- endif
|
|
- ifeq ($(ARCH),riscv64)
|
|
- CXXFLAGS += -latomic
|
|
- endif
|
|
- else
|
|
- CXXFLAGS += -m$(bits)
|
|
- LDFLAGS += -m$(bits)
|
|
- endif
|
|
-
|
|
- ifeq ($(arch),$(filter $(arch),armv7))
|
|
- LDFLAGS += -latomic
|
|
- endif
|
|
-
|
|
- ifneq ($(KERNEL),Darwin)
|
|
- LDFLAGS += -Wl,--no-as-needed
|
|
- endif
|
|
endif
|
|
|
|
ifeq ($(target_windows),yes)
|