Skip to content

Commit

Permalink
Use CFLAGS instead of OPTFLAGS for the -fPIC build.
Browse files Browse the repository at this point in the history
  • Loading branch information
zedshaw committed Jun 18, 2011
1 parent f17d251 commit 8944853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -28,7 +28,7 @@ ${OBJECTS_NOEXT}: CFLAGS += ${NOEXTCFLAGS}
bin/mongrel2: build/libm2.a src/mongrel2.o
$(CC) $(CFLAGS) src/mongrel2.o -o $@ $< $(LIBS)

build/libm2.a: OPTFLAGS += -fPIC
build/libm2.a: CFLAGS += -fPIC
build/libm2.a: build ${LIB_OBJ}
ar rcs $@ ${LIB_OBJ}
ranlib $@
Expand Down

0 comments on commit 8944853

Please sign in to comment.