Fix build error by adding -fno-stack-protector to CFLAGS in usr/LBuild (#63)
[lunaix-os.git] / lunaix-os / install_headers.mk
index d63637548a2725efd7b4b4ebf602f195af9ef4b2..fee40f08962426ca062062e1350c3b2bc8f8b42c 100644 (file)
@@ -4,6 +4,8 @@ ifndef PREFIX
        $(error "Must specify PREFIX to header install location")
 endif
 
+CFLAGS += $(kcflags)
+
 USR_HEADER := includes/usr
 
 HEADERS := $(shell cat $(USR_HEADER)/headers)