ALT Linux repos
Group :: System/Configuration/Hardware
RPM: nvidia-xconfig
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: alt-cflags.patch
Download
Download
--- a/utils.mk
+++ b/utils.mk
@@ -37,7 +37,7 @@ CXX ?= g++
LD ?= ld
AR ?= ar
# only set these warnings if CFLAGS is unset
-CFLAGS ?= -Wall
+CFLAGS ?= -Wall $(LOCAL_CFLAGS)
# always set these -f CFLAGS
CFLAGS += -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2
CC_ONLY_CFLAGS ?=