File libxnvctrl-optflags.patch of Package libXNVCtrl

diff -ruN nvidia-settings-435.21.orig/src/libXNVCtrl/Makefile nvidia-settings-435.21/src/libXNVCtrl/Makefile
--- nvidia-settings-435.21.orig/src/libXNVCtrl/Makefile	2019-09-21 00:46:45.357739383 +0300
+++ nvidia-settings-435.21/src/libXNVCtrl/Makefile	2019-09-21 00:48:00.854017713 +0300
@@ -38,7 +38,7 @@
 
 CFLAGS += $(XNVCTRL_CFLAGS)
 CFLAGS += -I .
-CFLAGS += -fPIC
+CFLAGS += -fPIC $(OPTFLAGS)
 CFLAGS += -I $(OUTPUTDIR)
 CFLAGS += -I $(XNVCTRL_DIR)
 
diff -ruN nvidia-settings-435.21.orig/src/libXNVCtrl/utils.mk nvidia-settings-435.21/src/libXNVCtrl/utils.mk
--- nvidia-settings-435.21.orig/src/libXNVCtrl/utils.mk	2019-08-25 17:02:17.000000000 +0300
+++ nvidia-settings-435.21/src/libXNVCtrl/utils.mk	2019-09-21 00:48:26.126110884 +0300
@@ -38,7 +38,7 @@
 # only set these warnings and optimizations if CFLAGS is unset
 CFLAGS                ?= -Wall -O2
 # always set these -f CFLAGS
-CFLAGS                += -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2
+CFLAGS                += $(OPTFLAGS)
 CC_ONLY_CFLAGS        ?=
 LDFLAGS               ?=
 BIN_LDFLAGS           ?=
@@ -401,7 +401,7 @@
 
 # This is a function that will generate rules to build
 # files with separate debug information, if so requested.
-# 
+#
 # It takes one parameter: (1) Name of unstripped binary
 #
 # When used, the target for linking should be named (1).unstripped