From: Kristian Høgsberg Kristensen Date: Sat, 5 Dec 2015 01:18:16 +0000 (-0800) Subject: vk: Don't override and hardcode autoconf CFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a5bee1fe6ab803c2efd917fae1ba91fc3dc0472;p=mesa.git vk: Don't override and hardcode autoconf CFLAGS To disable optimizations pass CFLAGS="-O0 -g" on the configure command line. --- diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am index 7c108e4b145..2e70fef6fb1 100644 --- a/src/vulkan/Makefile.am +++ b/src/vulkan/Makefile.am @@ -65,9 +65,7 @@ AM_CPPFLAGS = \ -I$(top_builddir)/src/glsl/nir \ -I$(top_builddir)/src/vulkan -libvulkan_la_CFLAGS = \ - -Wall -Wno-unused-parameter -fvisibility=hidden -O0 -g \ - -Wstrict-prototypes -Wmissing-prototypes -Wno-override-init +libvulkan_la_CFLAGS = $(CFLAGS) -Wno-override-init VULKAN_SOURCES = \ anv_allocator.c \