File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1313# be converted to Method 2.
1414#
1515# IDENTIFICATION
16- # $PostgreSQL: pgsql/src/backend/port/Makefile,v 1.22 2006/01/05 03:01:35 momjian Exp $
16+ # $PostgreSQL: pgsql/src/backend/port/Makefile,v 1.23 2006/04/28 17:09:16 momjian Exp $
1717#
1818# -------------------------------------------------------------------------
1919
@@ -48,14 +48,20 @@ win32.dir:
4848 $(MAKE ) -C win32 all
4949
5050tas.o : tas.s
51+ ifeq ($(PORTNAME ) , solaris)
52+ # preprocess assembler file with cpp, used by x86
53+ $(CC) $(CFLAGS) -c -P $<
54+ mv $*.i $*_cpp.s
55+ $(CC) $(CFLAGS) -c $*_cpp.s -o $@
56+ else
5157 $(CC) $(CFLAGS) -c $<
58+ endif
5259
5360# IPC test program
5461ipc_test : ipc_test.o pg_sema.o pg_shmem.o
5562 $(CC ) $(CFLAGS ) $(LDFLAGS ) $(export_dynamic ) $^ $(LIBS ) -o $@
5663
5764distclean clean :
58- rm -f SUBSYS.o $(OBJS ) ipc_test ipc_test.o
65+ rm -f SUBSYS.o $(OBJS ) ipc_test ipc_test.o tas_cpp.s
5966 $(MAKE ) -C darwin clean
6067 $(MAKE ) -C win32 clean
61-
You can’t perform that action at this time.
0 commit comments