Browse Source

TT#111150 Split CFLAGS between required and optional

Change-Id: I683aef49534a7bf70958f72661a83003cea21c3b
pull/1216/head
Guillem Jover 5 years ago
parent
commit
8508177777
4 changed files with 8 additions and 4 deletions
  1. +2
    -1
      daemon/Makefile
  2. +2
    -1
      iptables-extension/Makefile
  3. +2
    -1
      recording-daemon/Makefile
  4. +2
    -1
      t/Makefile

+ 2
- 1
daemon/Makefile View File

@ -4,7 +4,8 @@ with_iptables_option ?= yes
with_transcoding ?= yes
CFLAGS+= -g -Wall -Wstrict-prototypes -pthread -fno-strict-aliasing
CFLAGS?= -g -Wall -Wstrict-prototypes
CFLAGS+= -pthread -fno-strict-aliasing
CFLAGS+= -std=c99
CFLAGS+= $(shell pkg-config --cflags glib-2.0)
CFLAGS+= $(shell pkg-config --cflags gthread-2.0)


+ 2
- 1
iptables-extension/Makefile View File

@ -1,5 +1,6 @@
CC?=gcc
CFLAGS = -O2 -Wall -Wstrict-prototypes -shared -fPIC
CFLAGS ?= -O2 -Wall -Wstrict-prototypes
CFLAGS += -shared -fPIC
ifneq ($(RTPENGINE_VERSION),)
CFLAGS += -DRTPENGINE_VERSION="\"$(RTPENGINE_VERSION)\""
else


+ 2
- 1
recording-daemon/Makefile View File

@ -1,6 +1,7 @@
TARGET= rtpengine-recording
CFLAGS+= -g -Wall -Wstrict-prototypes -pthread -I. -I../lib/ -I../kernel-module/
CFLAGS?= -g -Wall -Wstrict-prototypes
CFLAGS+= -pthread -I. -I../lib/ -I../kernel-module/
CFLAGS+= -std=c99 -fno-strict-aliasing
CFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE
CFLAGS+= $(shell pkg-config --cflags glib-2.0)


+ 2
- 1
t/Makefile View File

@ -2,7 +2,8 @@ TARGET= all-tests
with_transcoding ?= yes
CFLAGS= -g -Wall -Wstrict-prototypes -pthread -fno-strict-aliasing
CFLAGS?= -g -Wall -Wstrict-prototypes
CFLAGS+= -pthread -fno-strict-aliasing
CFLAGS+= -std=c99
CFLAGS+= $(shell pkg-config --cflags glib-2.0)
CFLAGS+= $(shell pkg-config --cflags gthread-2.0)


Loading…
Cancel
Save