summaryrefslogtreecommitdiff
path: root/coreconf
diff options
context:
space:
mode:
authorhajma <tropikhajma@gmail.com>2020-03-31 15:43:03 -0700
committerhajma <tropikhajma@gmail.com>2020-03-31 15:43:03 -0700
commit75221984cb9026a686c5fea825110534fb22b8e3 (patch)
tree24fc184da09fca1ce370882a953fca03ff335bb3 /coreconf
parentcb56f428b1122343abd08055a33802ca0302f054 (diff)
downloadnss-hg-75221984cb9026a686c5fea825110534fb22b8e3.tar.gz
Bug 1625133 - Fix implicit declaration of function 'getopt' on SunOS r=jcj
Diffstat (limited to 'coreconf')
-rw-r--r--coreconf/SunOS5.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreconf/SunOS5.mk b/coreconf/SunOS5.mk
index ce9e2cbb9..844b622b3 100644
--- a/coreconf/SunOS5.mk
+++ b/coreconf/SunOS5.mk
@@ -35,6 +35,7 @@ DEFAULT_COMPILER = cc
ifdef NS_USE_GCC
CC = gcc
OS_CFLAGS += -Wall -Wno-format -Werror-implicit-function-declaration -Wno-switch
+ OS_CFLAGS += -D__EXTENSIONS__
CCC = g++
CCC += -Wall -Wno-format
ASFLAGS += -x assembler-with-cpp