Permalink
Browse files

Pass linker options last

  • Loading branch information...
1 parent 35b39cb commit 85cd76186def8ae10756b6a7437af5581442ad13 @paulrosania paulrosania committed with Aug 22, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
@@ -1,9 +1,9 @@
CC=g++
-CCOPTS=-g -I. -I/usr/local/include
+CCOPTS=-g -D_FILE_OFFSET_BITS=64 -I. -I/usr/local/include
LDOPTS=-L/usr/local/lib -L. -lmongoclient -lfuse_ino64 -lboost_thread-mt -lboost_filesystem-mt -lboost_system-mt
mount_gridfs : operations.o local_gridfile.o main.o options.o
- $(CC) $(LDOPTS) -o mount_gridfs main.o operations.o options.o local_gridfile.o
+ $(CC) -o mount_gridfs main.o operations.o options.o local_gridfile.o $(LDOPTS)
operations.o : operations.cpp operations.h
$(CC) $(CCOPTS) -c operations.cpp

0 comments on commit 85cd761

Please sign in to comment.