Build script fix to allow plugins to build on x86-64.
$(SHLIB_CFLAGS) is required on the compile line, not just the link line. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@99 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -165,13 +165,13 @@ Makefile: Makefile.in
|
||||
&& ./config.status
|
||||
|
||||
possum.o: $(srcdir)/possum.c
|
||||
$(CC) $(DEFS) $(CFLAGS) -c $(srcdir)/possum.c
|
||||
$(CC) $(DEFS) $(SHLIB_CFLAGS) $(CFLAGS) -c $(srcdir)/possum.c
|
||||
|
||||
head.o: $(srcdir)/head.c
|
||||
$(CC) $(DEFS) $(CFLAGS) -c $(srcdir)/head.c
|
||||
$(CC) $(DEFS) $(SHLIB_CFLAGS) $(CFLAGS) -c $(srcdir)/head.c
|
||||
|
||||
llist.o: $(srcdir)/llist.c
|
||||
$(CC) $(DEFS) $(CFLAGS) -c $(srcdir)/llist.c
|
||||
$(CC) $(DEFS) $(SHLIB_CFLAGS) $(CFLAGS) -c $(srcdir)/llist.c
|
||||
|
||||
possum$(SHLIB_SUFFIX): possum.o head.o llist.o ../dllinit.o
|
||||
$(SHLIB_LD) possum.o llist.o head.o ../dllinit.o $(SHLIB_CFLAGS) -o possum$(SHLIB_SUFFIX)
|
||||
|
||||
Reference in New Issue
Block a user