Skip to content

Commit 011f1e3

Browse files
committed
Clean up AIX makefile to recognize subversions of AIX 4.1 correctly.
This patch is Peter E's, but I'm applying it on his behalf so it'll get into 7.1RC3 tonight (I'm guessing Peter went to bed already).
1 parent 8b588a1 commit 011f1e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/makefiles/Makefile.aix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ifneq ($(GCC), yes)
1111
ifeq ($(host_os), aix3.2.5)
1212
LDFLAGS_SL = -e _nostart
1313
endif
14-
ifeq ($(host_os), aix4.1)
14+
ifneq (,$(findstring aix4.1, $(host_os)))
1515
LDFLAGS_SL = -bnoentry
1616
endif
1717
endif
@@ -29,7 +29,7 @@ $(POSTGRES_IMP):
2929
ifeq ($(host_os), aix3.2.5)
3030
$(MKLDEXPORT) postgres $(bindir) > $@
3131
else
32-
ifeq ($(host_os), aix4.1)
32+
ifneq (,$(findstring aix4.1, $(host_os)))
3333
$(MKLDEXPORT) postgres $(bindir) > $@
3434
else
3535
$(MKLDEXPORT) postgres . > $@

0 commit comments

Comments
 (0)