Files
postgres/src/makefiles/Makefile.linux
T
Marc G. Fournier d1891c6fb3 Apparently there was a
compiler define that should have been enabled, but was not due to
different naming conventions for Linux/Alpha. Attached is the patch he
sent me, that I have not had a chance to test yet.

From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
1998-02-14 18:06:20 +00:00

13 lines
384 B
Makefile

CFLAGS = -I$(SRCDIR)/include -I/usr/include/ncurses -I/usr/include/readline -Dlinuxalpha -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
ifdef LINUX_ELF
# test for __ELF__ in C code so do not need LINUX_ELF defined
# - thomas 1997-12-29
#CFLAGS+= -DLINUX_ELF
LDFLAGS+= -export-dynamic -Wl,-rpath -Wl,$(DESTDIR)$(LIBDIR)
endif
MK_NO_LORDER= true
%.so: %.o
$(CC) -shared -o $@ $<