fix build yet again

(i am too stupid to include all relevant changes
in my commits, mostly due to the fact that my
local diffs are almost always tremendous)
main
anna 3 years ago
parent e14bc3ce1e
commit d8e7939093
Signed by: fef
GPG Key ID: EC22E476DC2D3D84

@ -41,7 +41,7 @@ if(DEBUG)
# have it in there just in case (somebody check on this at some point plz)
set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -O0 -ggdb")
else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -ggdb")
endif()
# --whole-archive ensures no (seemingly) unused symbols
@ -59,7 +59,7 @@ set(GAY_DEFINITIONS
"_GAY_SOURCE=202109L"
)
set(GAY_KERNEL_DEFINITIONS
"__KERNEL__"
"_KERNEL" # FreeBSD uses the same macro name
${GAY_DEFINITIONS}
)

@ -7,6 +7,7 @@
#endif
#include <gay/cdefs.h>
#include <gay/types.h>
/**
* @defgroup arith Safe integer arithmetic primitives

Loading…
Cancel
Save