try get it to be static
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -119,6 +119,8 @@ jobs:
|
||||
mingw-w64-x86_64-make
|
||||
mingw-w64-x86_64-gmp
|
||||
mingw-w64-x86_64-gc
|
||||
mingw-w64-x86_64-gmp-static
|
||||
mingw-w64-x86_64-gc-static
|
||||
|
||||
- name: Build Project
|
||||
run: |
|
||||
|
||||
6
Makefile
6
Makefile
@@ -12,7 +12,11 @@ LEXER_SRC = src/lexer/lex.l
|
||||
LEXER_C = src/lexer/lex.yy.c
|
||||
LEXER_H = src/lexer/lex.yy.h
|
||||
CFLAGS = $(ARCHFLAGS) -lm -lgc -lgmp -Wall -Wextra -Wno-unused-function -Werror=unused-result -Iexternal/cwalk/include -Iexternal/libdye/include
|
||||
LDFLAGS = -Wl,-Bstatic -lgc -lgmp -Wl,-Bdynamic -lm
|
||||
LDFLAGS = -lgc -lgmp -lm
|
||||
|
||||
ifeq ($(MAKECMDGOALS),windows)
|
||||
LDFLAGS = -Wl,-Bstatic -lgc -lgmp -Wl,-Bdynamic -lm
|
||||
endif
|
||||
|
||||
all: $(BINARY)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user