From 404f8fdaa950d44e422a1908af5aae6f35f81058 Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Tue, 25 Mar 2003 19:32:36 +0000 Subject: [PATCH] Bug 194083: use qcc instead of gcc. The patch is contributed by amardare@qnx.com. --- security/coreconf/QNX.mk | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/security/coreconf/QNX.mk b/security/coreconf/QNX.mk index e2758c51296e..5475a422b630 100644 --- a/security/coreconf/QNX.mk +++ b/security/coreconf/QNX.mk @@ -41,13 +41,13 @@ ifeq ($(USE_PTHREADS),1) IMPL_STRATEGY = _PTH endif -CC = gcc -CCC = g++ +CC = qcc +CCC = qcc RANLIB = ranlib -DEFAULT_COMPILER = gcc -ifeq ($(OS_TEST),ppc) - CPU_ARCH = ppc +DEFAULT_COMPILER = qcc +ifeq ($(OS_TEST),mips) + CPU_ARCH = mips else CPU_ARCH = x86 endif @@ -57,12 +57,14 @@ ifdef BUILD_OPT OPTIMIZER = -O2 endif -OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -Wall -pipe -DNTO -DHAVE_STRERROR -D_QNX_SOURCE -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 +OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -Vgcc_ntox86 -Wall -pipe -DNTO -DHAVE_STRERROR -D_QNX_SOURCE -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=500 ifdef USE_PTHREADS DEFINES += -D_REENTRANT endif -DSO_CFLAGS = -fPIC +ARCH = QNX + +DSO_CFLAGS = -Wc,-fPIC DSO_LDOPTS = -shared DSO_LDFLAGS =