]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
adding -O2 (x2.6 speed up on Raspberry Pi)
authorYann Pomarede <yann.pomarede@gmail.com>
Tue, 28 Feb 2017 11:25:43 +0000 (12:25 +0100)
committerYann Pomarede <yann.pomarede@gmail.com>
Tue, 28 Feb 2017 11:25:43 +0000 (12:25 +0100)
Makefile.am

index 63b12b92a890f1dd9b28c7d3d205348396f94c19..3dfae1d3d8904639e70d1394938df2eee74223a5 100644 (file)
@@ -3,8 +3,8 @@ SUBDIRS = man
 bin_PROGRAMS = shairport-sync
 shairport_sync_SOURCES = shairport.c rtsp.c mdns.c mdns_external.c common.c rtp.c player.c alac.c audio.c loudness.c
 
-AM_CFLAGS = -Wno-multichar -DSYSCONFDIR=\"$(sysconfdir)\"
-AM_CPPFLAGS = -Wno-multichar -DSYSCONFDIR=\"$(sysconfdir)\"
+AM_CFLAGS = -Wno-multichar -DSYSCONFDIR=\"$(sysconfdir)\" -O2
+AM_CPPFLAGS = -Wno-multichar -DSYSCONFDIR=\"$(sysconfdir)\" -O2
 
 if USE_APPLE_ALAC
   shairport_sync_SOURCES += apple_alac.cpp