Skip to content

Instantly share code, notes, and snippets.

@aisouard
aisouard / Makefile
Created May 22, 2015 00:56
Makefile for building with WebRTC
CXXFLAGS := -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DWEBRTC_TARGET_PC -DWEBRTC_LINUX \
-DWEBRTC_THREAD_RR -DEXPAT_RELATIVE_PATH -DGTEST_RELATIVE_PATH \
-DJSONCPP_RELATIVE_PATH \
-DWEBRTC_RELATIVE_PATH -DPOSIX -D__STDC_FORMAT_MACROS \
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_POSIX=1 \
-Ithird_party/webrtc -Ipeeracle/lib -std=gnu++0x \
-pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter \
-Wno-missing-field-initializers -Wextra -Wno-unused-local-typedefs \
-Wno-uninitialized -Wno-unused-variable -Wno-unused-but-set-variable \
-pipe -fno-ident -fdata-sections -ffunction-sections -fPIC -fpermissive