Commit f412044a authored by Christian Kastner's avatar Christian Kastner

Use DEB_HOST_ARCH_OS from /usr/share/dpkg/architecture.mk

parent f4683d8a
......@@ -3,6 +3,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# For DEB_HOST_ARCH_OS
include /usr/share/dpkg/architecture.mk
# Add build flags
CFLAGS += -Wall
......@@ -17,7 +19,7 @@ ifeq (,$(findstring nopam,$(DEB_BUILD_OPTIONS)))
endif
### Linux-only options ###
ifeq ($(shell dpkg-architecture -qDEB_HOST_ARCH_OS), linux)
ifeq ($(DEB_HOST_ARCH_OS), linux)
# SELINUX is enabled by default
ifeq (,$(findstring noselinux,$(DEB_BUILD_OPTIONS)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment