mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-10 22:23:35 +00:00
Fix linker issue on 42 PCs
Missing -latomic flag gives a linker error for .load()
This commit is contained in:
2
Makefile
2
Makefile
@@ -16,7 +16,7 @@ SPVS = $(addprefix $(SHADER_DIR)/, $(SHADER_SRCS:.nzsl=.spv))
|
||||
CXX = clang++
|
||||
CXXFLAGS = -std=c++20 -I ScopEngine/Runtime/Includes -I Application -I ScopEngine/ThirdParty/KVF -I ScopEngine/ThirdParty -D KVF_IMPL_VK_NO_PROTOTYPES
|
||||
|
||||
LDFLAGS = -lSDL2 ScopEngine/Bin/engine.a
|
||||
LDFLAGS = -lSDL2 ScopEngine/Bin/engine.a -latomic
|
||||
|
||||
DEBUG ?= false
|
||||
TSAN ?= false
|
||||
|
||||
Reference in New Issue
Block a user