From bd99caed44e87e7978a64ae908bbe8a74cb00988 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Sat, 19 Mar 2016 01:44:43 +0100 Subject: [PATCH] Also set CFLAGS so that -g gets picked up for C files too. --- qt5-qtwebengine.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec index 20134a4..8355b49 100644 --- a/qt5-qtwebengine.spec +++ b/qt5-qtwebengine.spec @@ -303,6 +303,7 @@ BuildArch: noarch export STRIP=strip export NINJAFLAGS="-v %{_smp_mflags}" export NINJA_PATH=%{_bindir}/ninja-build +export CFLAGS="%{optflags} -fno-delete-null-pointer-checks" export CXXFLAGS="%{optflags} -fno-delete-null-pointer-checks" mkdir %{_target_platform}