Browse Source

MT#55283 enable strict aliasing

We should be ok.

Change-Id: Ibdf81ace9c6c62a9b58fcb56d3c80f7e0bcf62ee
pull/1870/head
Richard Fuchs 1 year ago
parent
commit
b6bbf58383
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      daemon/Makefile
  2. +1
    -1
      recording-daemon/Makefile
  3. +1
    -1
      t/Makefile

+ 1
- 1
daemon/Makefile View File

@ -6,7 +6,7 @@ with_transcoding ?= yes
CFLAGS?= -g -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wstrict-prototypes -Werror=return-type \
-Wshadow
CFLAGS+= -pthread -fno-strict-aliasing
CFLAGS+= -pthread
CFLAGS+= -std=c11
CFLAGS+= $(shell pkg-config --cflags glib-2.0)
CFLAGS+= $(shell pkg-config --cflags gthread-2.0)


+ 1
- 1
recording-daemon/Makefile View File

@ -3,7 +3,7 @@ TARGET= rtpengine-recording
CFLAGS?= -g -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wstrict-prototypes -Werror=return-type \
-Wshadow
CFLAGS+= -pthread -I. -I../lib/ -I../kernel-module/
CFLAGS+= -std=c11 -fno-strict-aliasing
CFLAGS+= -std=c11
CFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE
CFLAGS+= $(shell pkg-config --cflags glib-2.0)
CFLAGS+= $(shell pkg-config --cflags gthread-2.0)


+ 1
- 1
t/Makefile View File

@ -5,7 +5,7 @@ with_transcoding ?= yes
CFLAGS?= -g -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wstrict-prototypes -Werror=return-type \
-Wshadow
PRELOAD_CFLAGS := $(CFLAGS)
CFLAGS+= -pthread -fno-strict-aliasing
CFLAGS+= -pthread
CFLAGS+= -std=c11
CFLAGS+= $(shell pkg-config --cflags glib-2.0)
CFLAGS+= $(shell pkg-config --cflags gthread-2.0)


Loading…
Cancel
Save