Remove private feature macros for Solaris from compiler flags
This commit is contained in:
parent
2cd46456c0
commit
367ac44ac1
2
Makefile
2
Makefile
@ -16,7 +16,7 @@ CC:=$(shell sh -c 'type $(CC) 2>/dev/null 1>/dev/null && echo $(CC) || echo gcc'
|
||||
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
|
||||
OPTIMIZATION?=-O3
|
||||
ifeq ($(uname_S),SunOS)
|
||||
CFLAGS?=$(OPTIMIZATION) -fPIC -Wall -W -D__EXTENSIONS__ -D_XPG6 $(ARCH) $(PROF)
|
||||
CFLAGS?=$(OPTIMIZATION) -fPIC -Wall -W $(ARCH) $(PROF)
|
||||
CCLINK?=-ldl -lnsl -lsocket
|
||||
LDFLAGS?=-L.
|
||||
DYLIBSUFFIX=so
|
||||
|
1
async.c
1
async.c
@ -29,6 +29,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "fmacros.h"
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
#include <assert.h>
|
||||
|
Loading…
Reference in New Issue
Block a user