Skip to content

Commit 677802d

Browse files
committed
8258484: AIX build fails in Harfbuzz with XLC 16.01.0000.0006
Backport-of: 3f9f86f
1 parent 1973fbe commit 677802d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

make/modules/java.desktop/lib/Awt2dLibraries.gmk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -474,6 +474,11 @@ else
474474
#
475475

476476
LIBHARFBUZZ_OPTIMIZATION := HIGH
477+
# Early re-canonizing has to be disabled to workaround an internal XlC compiler error
478+
# when building libharfbuzz
479+
ifeq ($(call isTargetOs, aix), true)
480+
LIBHARFBUZZ_CFLAGS += -qdebug=necan
481+
endif
477482

478483
LIBHARFBUZZ_CFLAGS += $(X_CFLAGS) -DLE_STANDALONE -DHEADLESS
479484

0 commit comments

Comments
 (0)