diff options
author | Nikolai Merinov <n.merinov@samsung.com> | 2019-02-04 18:39:27 +0300 |
---|---|---|
committer | Nikolai Merinov <n.merinov@samsung.com> | 2019-02-04 18:39:27 +0300 |
commit | e231285173fbd853701bfe0ed76571f281faae03 (patch) | |
tree | 83af98193a82ceed39a8a8fe4f46a230af61734b | |
parent | 98b9d058fdcdf0767b96c54e682428f37deb725f (diff) | |
download | audio-hal-max98090-sandbox/nmerinov/llvm.tar.gz audio-hal-max98090-sandbox/nmerinov/llvm.tar.bz2 audio-hal-max98090-sandbox/nmerinov/llvm.zip |
Pass SYSCONFDIR from makefile to workaround autoconf issuesandbox/nmerinov/llvm
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | packaging/audio-hal-max98090.spec | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 98494e4..2a8e7fc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,3 +19,4 @@ if USE_TINYALSA libtizen_audio_la_LIBADD += $(TINYALSA_LIBS) libtizen_audio_la_CFLAGS += $(TINYALSA_CFLAGS) -D__USE_TINYALSA__ endif +libtizen_audio_la_CPPFLAGS = -DSYSCONFDIR="\"$(sysconfdir)\"" diff --git a/packaging/audio-hal-max98090.spec b/packaging/audio-hal-max98090.spec index 741d71c..69b9ad3 100644 --- a/packaging/audio-hal-max98090.spec +++ b/packaging/audio-hal-max98090.spec @@ -20,7 +20,7 @@ TIZEN Audio HAL for MAX98090 %setup -q -n %{name}-%{version} %build -export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\"" +export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE" export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE" export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE" |