Skip to content

Commit 876d5c0

Browse files
committed
compile-options: Document script
Ticket: ENT-12600 Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent 11a7c78 commit 876d5c0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build-scripts/compile-options

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ case "$OS_FAMILY" in
6262
;;
6363
hpux)
6464
LDFLAGS="-L$BUILDPREFIX/lib -Wl,+b$BUILDPREFIX/lib"
65+
66+
# Use ‘gcc’ when building things on HP-UX
67+
#
68+
# HP-UX ships with ‘cc’ which invokes the ‘HP-UX bundled C compiler’ which
69+
# lacks some functionality we need to build things. Among the other things,
70+
# it doesn’t know how to link ‘.so’ files directly and it doesn’t recognize
71+
# them as valid input type.
6572
CC=gcc
6673
export CC
6774
;;

0 commit comments

Comments
 (0)