Skip to content

Commit

Permalink
rpm: use rpm-build provided CFLAGS for pacat-simple-vchan
Browse files Browse the repository at this point in the history
(cherry picked from commit 742876e)
  • Loading branch information
marmarek committed May 17, 2020
1 parent e656b50 commit d5ced8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pulse/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CC=gcc
CFLAGS=-Wall -Wextra -Werror -g -O2
CC ?= gcc
CFLAGS += -Wall -Wextra -Werror -g -O2
VCHANLIBS=`pkg-config --libs vchan-$(BACKEND_VMM)`
VCHANCFLAGS=`pkg-config --cflags vchan-$(BACKEND_VMM)`
GLIBCFLAGS=`pkg-config --cflags glib-2.0` `pkg-config --cflags dbus-glib-1`
Expand Down
1 change: 1 addition & 0 deletions rpm_spec/gui-dom0.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ The Qubes GUI virtualization infrastructure that needs to be installed in Dom0.
%setup -q

%build
%{?set_build_flags}
make clean
make all BACKEND_VMM=@BACKEND_VMM@

Expand Down

0 comments on commit d5ced8c

Please sign in to comment.