summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorJohn Forte <John.Forte@Sun.COM>2008-10-27 09:46:55 -0700
committerJohn Forte <John.Forte@Sun.COM>2008-10-27 09:46:55 -0700
commit5338c544ca00e11e246822f5d465dd162f781dbf (patch)
treefd48163b52e1792a719fbcc03fea93ca43df4f94 /usr/src
parent7901f9b7b1ed1fa8dfc6ce379231b2772d896e07 (diff)
downloadillumos-gate-5338c544ca00e11e246822f5d465dd162f781dbf.tar.gz
6745433 Merge NWS consolidation into OS/Net consolidation (fix gcc)
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/sun_fc/Makefile.com9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr/src/lib/sun_fc/Makefile.com b/usr/src/lib/sun_fc/Makefile.com
index 08edf41dfd..4eb252363d 100644
--- a/usr/src/lib/sun_fc/Makefile.com
+++ b/usr/src/lib/sun_fc/Makefile.com
@@ -132,19 +132,16 @@ INCS += -I$(SRC)/lib/hbaapi/common
CCFLAGS += -D_POSIX_PTHREAD_SEMANTICS
CCFLAGS += -compat=5
-CCFLAGS += -norunpath
-CCFLAGS += -nolib
CCFLAGS64 += -D_POSIX_PTHREAD_SEMANTICS
CCFLAGS64 += -compat=5
-CCFLAGS64 += -norunpath
-CCFLAGS64 += -nolib
CPPFLAGS += $(INCS) -DBUILD_TIME='"Wed Sep 24 12:00:00 2008"'
LDLIBS += -ldevinfo
LDLIBS += -lsysevent
LDLIBS += -lnvpair
-LDLIBS += -lCstd
-LDLIBS += -lCrun
+CCRUNLIBS = -lCstd -lCrun
+$(__GNUC)CCRUNLIBS = -lstdc++ -lgcc_s
+LDLIBS += $(CCRUNLIBS)
LDLIBS += -lc
$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)