Add ommited build flags for tizen to AM_CFLAGS 11/169911/2
authorSangchul Lee <sc11.lee@samsung.com>
Mon, 12 Feb 2018 05:30:06 +0000 (14:30 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 12 Feb 2018 06:55:14 +0000 (15:55 +0900)
Since AM_CFLAGS are commonly used for compiling modules,
it is used for tizen build flags which will be applied to modules.

[Version] 11.1-15
[Issue Type] Enhancement

Change-Id: Iac3a90ce518722edd0bdeb02ad6906ff5022a45d
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/pulseaudio.spec
src/Makefile.am

index 5bfae9e..b12dd56 100644 (file)
@@ -3,7 +3,7 @@
 Name:             pulseaudio
 Summary:          Improved Linux sound server
 Version:          11.1
-Release:          14
+Release:          15
 Group:            Multimedia/Audio
 License:          LGPL-2.1
 URL:              http://pulseaudio.org
index 39df987..1a784ba 100644 (file)
@@ -84,6 +84,16 @@ FOREIGN_CFLAGS = -w
 MODULE_LDFLAGS = $(AM_LDFLAGS) $(AM_LIBLDFLAGS) -module -disable-static -avoid-version $(NOUNDEFINED_LDFLAGS)
 MODULE_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la
 
+if TIZEN_PCM_DUMP
+AM_CFLAGS += -DTIZEN_PCM_DUMP
+endif
+if TIZEN_SECURITY
+AM_CFLAGS += -DTIZEN_SECURITY
+endif
+if TIZEN_EMPTY_POP
+AM_CFLAGS += -DTIZEN_EMPTY_POP
+endif
+
 ###################################
 #          Extra files            #
 ###################################