kopia lustrzana https://github.com/micropython/micropython
ports/unix/Makefile: Don't assume Linux by default.
Motivation: allow to override this with "make UNAME_S=wasi" Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>pull/13676/head
rodzic
64f28dc1eb
commit
f71be92b4d
|
@ -103,7 +103,7 @@ CC = clang
|
|||
endif
|
||||
# Use clang syntax for map file
|
||||
LDFLAGS_ARCH = -Wl,-map,$@.map -Wl,-dead_strip
|
||||
else
|
||||
else ifeq ($(UNAME_S),Linux)
|
||||
# Use gcc syntax for map file
|
||||
LDFLAGS_ARCH = -Wl,-Map=$@.map,--cref -Wl,--gc-sections
|
||||
endif
|
||||
|
|
Ładowanie…
Reference in New Issue