Skip to content

Commit

Permalink
bug 63815, AIX compiler fails to build ckhelper.c in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ian.mcgreer%sun.com committed Apr 15, 2002
1 parent f704dd4 commit e8b5c71
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions security/nss/lib/dev/Makefile
Expand Up @@ -37,4 +37,17 @@ include $(CORE_DEPTH)/coreconf/config.mk
include config.mk
include $(CORE_DEPTH)/coreconf/rules.mk

# On AIX 4.3, IBM xlC_r compiler (version 3.6.6) cannot compile
# ckhelper.c in 64-bit mode for unknown reasons. A workaround is
# to compile it with optimizations turned on. (Bugzilla bug #63815)
ifeq ($(OS_TARGET)$(OS_RELEASE),AIX4.3)
ifeq ($(USE_64),1)
ifndef BUILD_OPT
$(OBJDIR)/ckhelper.o: ckhelper.c
@$(MAKE_OBJDIR)
$(CC) -o $@ -c -O2 $(CFLAGS) $<
endif
endif
endif

export:: private_export

0 comments on commit e8b5c71

Please sign in to comment.