Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4c5eb2c

Browse files
committed
Modify Solaris compiler build rules to use the cpp preprocessor, the the
x86 file.
1 parent83b692d commit4c5eb2c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

‎src/backend/port/Makefile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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

5050
tas.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
5461
ipc_test: ipc_test.o pg_sema.o pg_shmem.o
5562
$(CC)$(CFLAGS)$(LDFLAGS)$(export_dynamic)$^$(LIBS) -o$@
5663

5764
distcleanclean:
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-

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp