Lines 22-30
always-y += $(GCC_PLUGIN)
Link Here
|
22 |
GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin) |
22 |
GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin) |
23 |
|
23 |
|
24 |
plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \ |
24 |
plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \ |
25 |
-I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++98 \ |
25 |
-I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++11 \ |
26 |
-fno-rtti -fno-exceptions -fasynchronous-unwind-tables \ |
26 |
-fno-rtti -fno-exceptions -fasynchronous-unwind-tables \ |
27 |
-ggdb -Wno-narrowing -Wno-unused-variable -Wno-c++11-compat \ |
27 |
-ggdb -Wno-narrowing -Wno-unused-variable \ |
28 |
-Wno-format-diag |
28 |
-Wno-format-diag |
29 |
|
29 |
|
30 |
plugin_ldflags = -shared |
30 |
plugin_ldflags = -shared |