We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11b4a96 commit f0b9b21Copy full SHA for f0b9b21
src/makefiles/Makefile.hpux
@@ -1,7 +1,10 @@
1
+HPUX_MAJOR= $(shell uname -r|sed 's/^[^.]*\.\([^.]*\).*/\1/')
2
+# HP-UX 10 has a select() in libcurses, so we need to get the libc version first
3
+ifeq ($(HPUX_MAJOR), 10)
4
+ LDFLAGS:= -lc $(LDFLAGS)
5
+endif
6
-#HPUX_VERS:= $(shell uname -r)
-#HPUX_MAJOR= ${HPUX_VERS:R:E}
-#HPUX_MINOR= ${HPUX_VERS:E}
7
+# Does anyone use this stuff?
8
#ifdef ENFORCE_ALIGNMENT
9
# CFLAGS+= -DNOFIXADE
10
#else
@@ -17,10 +20,6 @@
17
20
# endif
18
21
19
22
#endif
-# HP-UX 10 has a select() in libcurses, so we need to get the libc version first
-#ifeq ($(HPUX_MAJOR), 10)
-# LDFLAGS:= -lc $(LDFLAGS)
23
-#endif
24
25
%.sl: %.o
26
$(LD) -b -o $@ $<
0 commit comments