Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 58618 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 10-16 Link Here
10
10
11
11
12
MIG = $(NEXT_ROOT)/usr/bin/mig
12
MIG = $(NEXT_ROOT)/usr/bin/mig
13
13
SEG_HACK = /usr/bin/seg_hack
14
ifeq "macos" "$(RC_OS)"
14
ifeq "macos" "$(RC_OS)"
15
  X_CFLAGS := $(shell if [ "$(RC_RELEASE)" != "Beaker" ] &&    \
15
  X_CFLAGS := $(shell if [ "$(RC_RELEASE)" != "Beaker" ] &&    \
16
			 [ "$(RC_RELEASE)" != "Bunsen" ] &&    \
16
			 [ "$(RC_RELEASE)" != "Bunsen" ] &&    \
Lines 325-331 Link Here
325
	$(CC) $(COPTS) $(CFLAGS) $(RC_CFLAGS) -nostdlib -r \
325
	$(CC) $(COPTS) $(CFLAGS) $(RC_CFLAGS) -nostdlib -r \
326
		-o $(SYMROOT)/prehack_libkld.a $(OBJS) $(LIBSTUFF) $(LIBMACHO)
326
		-o $(SYMROOT)/prehack_libkld.a $(OBJS) $(LIBSTUFF) $(LIBMACHO)
327
	nmedit -p $(SYMROOT)/prehack_libkld.a
327
	nmedit -p $(SYMROOT)/prehack_libkld.a
328
	seg_hack __KLD $(SYMROOT)/prehack_libkld.a -o $(SYMROOT)/static_libkld.o
328
	$(SEG_HACK) __KLD $(SYMROOT)/prehack_libkld.a -o $(SYMROOT)/static_libkld.o
329
	libtool -o $(SYMROOT)/libkld.a $(SYMROOT)/static_libkld.o
329
	libtool -o $(SYMROOT)/libkld.a $(SYMROOT)/static_libkld.o
330
330
331
libkld.dylib: $(OBJS)
331
libkld.dylib: $(OBJS)

Return to bug 58618