summaryrefslogtreecommitdiff
path: root/korean/uniksc
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-14 02:23:53 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-14 02:23:53 +0000
commit055a1eaf24f97804848b60f9029c28945f99c239 (patch)
tree7e15baa37c5bcb274fdd4dc7abb2e903ddda856e /korean/uniksc
parentFix build on amd64 (Don't link .a files into PIC code) (diff)
Fix build on amd64 (shared library objects must be compiled with -fPIC)
Notes
Notes: svn path=/head/; revision=103937
Diffstat (limited to 'korean/uniksc')
-rw-r--r--korean/uniksc/files/patch-makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/korean/uniksc/files/patch-makefile b/korean/uniksc/files/patch-makefile
index c7fe07f427fc..ee846b1523e9 100644
--- a/korean/uniksc/files/patch-makefile
+++ b/korean/uniksc/files/patch-makefile
@@ -1,19 +1,24 @@
---- Makefile.orig Mon Oct 9 07:38:51 2000
-+++ Makefile Sun Oct 15 01:21:27 2000
-@@ -1,8 +1,8 @@
+--- Makefile.orig Sun Oct 8 15:38:51 2000
++++ Makefile Sat Mar 13 18:23:29 2004
+@@ -1,8 +1,9 @@
-CC = gcc
+#CC = gcc
-CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer -I.
+FLAGS = ${CFLAGS} -I.
++LIBFLAGS = $(FLAGS) -fPIC
-PREFIX=/usr/local
+#PREFIX=/usr/local
SRCS = ksc5601_utf16.c \
ksc5601_utf16_table.c \
-@@ -15,24 +15,24 @@
- $(CC) -c $(FLAGS) -o $*.o $<
+@@ -12,27 +13,27 @@
+ OBJS = $(SRCS:.c=.o)
+
+ .c.o:
+- $(CC) -c $(FLAGS) -o $*.o $<
++ $(CC) -c $(LIBFLAGS) -o $*.o $<
all: $(OBJS)
- $(CC) -shared -Wl,-soname -Wl,libuniksc.so.0 -o libuniksc.so.0.9 $(OBJS)