Commit 4436e979 authored by Mike DePaulo's avatar Mike DePaulo

Fix build when LDFLAGS (etc) contains spaces.

Was needed and was tested on Ubuntu 14.04.
parent 6fc37fa7
......@@ -2,10 +2,10 @@
NULL =
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS --export=cmdline)
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS --export=cmdline)
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS --export=cmdline)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS --export=cmdline)
export LIBDIR = "/usr/lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)"
export INCLUDEDIR = "/usr/include/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)"
......
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