LDFLAGS += -latomic
endif
+ifeq "$(BUILD_ARCH)" "riscv64"
+ LDFLAGS += -latomic
+endif
+
###############################################################################
# Top-level Rules
###############################################################################