diff options
author | 2023-02-02 13:38:20 +0100 | |
---|---|---|
committer | 2023-02-02 13:38:20 +0100 | |
commit | 27d489fa56714910d7249abc9f72dcd22cad66da (patch) | |
tree | c3111e978e18ffa07f1e68a4e20e703d11ede726 | |
parent | ab8d8b26603cbac6e83e742a712b22d6eed550d4 (diff) | |
download | log-27d489fa56714910d7249abc9f72dcd22cad66da.tar.gz log-27d489fa56714910d7249abc9f72dcd22cad66da.zip |
Move -fPIC from CFLAGS to the target body
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ ${LIBNAME:=.a}: ${OBJ} ar rcs $@ ${OBJ} .c.o: - ${CC} ${CFLAGS} -c $< + ${CC} ${CFLAGS} -fPIC -c $< all: ${LIBNAME:=.so} ${LIBNAME:=.a} |