0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 15:04:10 +01:00

Move -include arguments to preprocessor flags.

This commit is contained in:
Jason Volk 2022-07-19 11:36:04 -07:00
parent 3a5f7e0aac
commit 216a2b64cb
3 changed files with 8 additions and 6 deletions

View file

@ -7,10 +7,10 @@ DEFS += -DIRCD_UNIT
AM_CPPFLAGS =#
AM_CPPFLAGS += -I$(top_srcdir)/include
AM_CPPFLAGS += -include ircd/ircd.pic.h
AM_CXXFLAGS =#
AM_CXXFLAGS += -ftls-model=initial-exec
AM_CXXFLAGS += -include ircd/ircd.pic.h
AM_LDFLAGS =#
AM_LDFLAGS += -version-info 3:2:0
@ -371,8 +371,10 @@ GPU_CPPFLAGS =#
GPU_CPPFLAGS += -D__OPENCL_VERSION__=110
GPU_CPPFLAGS += -Dcl_clang_storage_class_specifiers
GPU_CPPFLAGS += -DNOFP64
GPU_CPPFLAGS += $(AM_CPPFLAGS)
GPU_CPPFLAGS += -I$(top_srcdir)/include
GPU_CPPFLAGS += -include "ircd/config.h"
GPU_CPPFLAGS += $(CPPFLAGS)
GPU_CPPFLAGS += $(CWARNS)
GPU_CPPFLAGS += $(DEFS)
GPU_CFLAGS =#

View file

@ -8,10 +8,10 @@ DEFS += -DIRCD_MATRIX_UNIT
AM_CPPFLAGS =#
AM_CPPFLAGS += -I$(top_srcdir)/include
AM_CPPFLAGS += -include ircd/matrix.pic.h
AM_CPPFLAGS += -include ircd/mods/mapi.h
AM_CXXFLAGS =#
AM_CXXFLAGS += -include ircd/matrix.pic.h
AM_CXXFLAGS += -include ircd/mods/mapi.h
AM_LDFLAGS =#
AM_LDFLAGS += -version-info 0:1:0

View file

@ -5,11 +5,11 @@ DEFS += -DIRCD_UNIT_MODULE
AM_CPPFLAGS =#
AM_CPPFLAGS += -I$(top_srcdir)/include
AM_CPPFLAGS += -include $(top_srcdir)/include/ircd/matrix.pic.h
AM_CPPFLAGS += -include $(top_srcdir)/include/ircd/mods/mapi.h
AM_CXXFLAGS =#
AM_CXXFLAGS += -ftls-model=global-dynamic
AM_CXXFLAGS += -include $(top_srcdir)/include/ircd/matrix.pic.h
AM_CXXFLAGS += -include $(top_srcdir)/include/ircd/mods/mapi.h
AM_LDFLAGS =#
AM_LDFLAGS += -module