mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-11 06:33:36 +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++
|
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
|
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
|
DEBUG ?= false
|
||||||
TSAN ?= false
|
TSAN ?= false
|
||||||
|
|||||||
Reference in New Issue
Block a user