Commit 768d90b2 authored by IOhannes zmölnig's avatar IOhannes zmölnig

simplified ppc64el special-handling

parent 75744cd8
......@@ -18,6 +18,11 @@ else
BUILD_DATE ?= $(shell date "+$(DATE_FMT)")
endif
ifeq ($(DEB_HOST_ARCH_CPU), ppc64el)
CXXFLAGS="$(CXXFLAGS) -m64 -mcpu=powerpc"
CFLAGS="$(CFLAGS) -m64 -mcpu=powerpc"
endif
archconfflags := \
--libdir=\$${exec_prefix}/lib \
......@@ -55,11 +60,7 @@ DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
dh $@
override_dh_auto_configure:
ifeq ($(DEB_HOST_ARCH_CPU), ppc64el)
CXXFLAGS="$(CXXFLAGS) -m64 -mcpu=powerpc" CFLAGS="$(CFLAGS) -m64 -mcpu=powerpc" dh_auto_configure -- $(archconfflags)
else
CXXFLAGS="$(CXXFLAGS)" CFLAGS="$(CFLAGS)" dh_auto_configure -- $(archconfflags)
endif
override_dh_auto_test:
# no actual 'make test' target
......
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