Disabled magenta heap functions.

This commit is contained in:
Max Wash
2020-09-18 16:45:49 +01:00
parent f68140420f
commit cbef0680a0
2 changed files with 6 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ add_framework(Photon STATIC
SOURCES ${photon_libc_sources} ${photon_libc_headers}
HEADERS ${CMAKE_CURRENT_BINARY_DIR}/sysroot/usr/include/*)
bundle_compile_options(Photon PRIVATE -ffreestanding -nostdlib -fPIC)
bundle_compile_options(Photon PRIVATE -ffreestanding -nostdlib -fPIC -fPIE)
bundle_link_libraries(Photon ${photon_platform_libs})
bundle_link_frameworks(Photon ${photon_platform_frameworks})