MFH: r522062
net/asterisk-g72x: fix build of GCC architectures C11 compiler is necessary: In file included from codec_g72x.c:26: /usr/local/include/asterisk/lock.h: In function 'ast_atomic_fetchadd_int': /usr/local/include/asterisk/lock.h:752: error: '__ATOMIC_RELAXED' undeclared (first use in this function) /usr/local/include/asterisk/lock.h:752: error: (Each undeclared identifier is reported only once /usr/local/include/asterisk/lock.h:752: error: for each function it appears in.) /usr/local/include/asterisk/lock.h: In function 'ast_atomic_dec_and_test': /usr/local/include/asterisk/lock.h:762: error: '__ATOMIC_RELAXED' undeclared (first use in this function) Approved by: portmgr (fix build blanket)
This commit is contained in:
parent
c342330127
commit
5233b904e8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=522064
@ -33,7 +33,7 @@ CONFIGURE_ARGS+= --with-asterisk160
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --with-bcg729
|
||||
USES= autoreconf compiler libtool localbase tar:bzip2
|
||||
USES= autoreconf compiler:c11 libtool localbase tar:bzip2
|
||||
|
||||
PLIST_FILES= lib/asterisk/modules/codec_g729.so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user