diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-09-16 21:05:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-16 21:05:16 -0500 |
commit | 38da6ce9fb7386ce5f74a40a94a3aa9d6d96e594 (patch) | |
tree | 24faf1c37926dfe069575737095be198f35a5ad1 | |
parent | baf9813bea16402672940465661b02fc01a6314c (diff) | |
parent | 3e881b1274c542a4f23396fad2ff8a8938f28299 (diff) | |
download | gcompat-38da6ce9fb7386ce5f74a40a94a3aa9d6d96e594.tar.gz gcompat-38da6ce9fb7386ce5f74a40a94a3aa9d6d96e594.tar.bz2 gcompat-38da6ce9fb7386ce5f74a40a94a3aa9d6d96e594.tar.xz gcompat-38da6ce9fb7386ce5f74a40a94a3aa9d6d96e594.zip |
Merge pull request #1 from djames1/master
Makefile: allow compilation with specified compiler
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -28,13 +28,13 @@ LOADER_PATH = /lib/${LOADER_NAME} all: ${LIBGCOMPAT_NAME} ${LOADER_NAME} ${LIBGCOMPAT_NAME}: ${LIBGCOMPAT_OBJ} - gcc -o ${LIBGCOMPAT_NAME} -Wl,-soname,${LIBGCOMPAT_NAME} -shared ${LIBGCOMPAT_OBJ} + $(CC) -o ${LIBGCOMPAT_NAME} -Wl,-soname,${LIBGCOMPAT_NAME} -shared ${LIBGCOMPAT_OBJ} ${LOADER_NAME}: ${LOADER_OBJ} - gcc -o ${LOADER_NAME} -fPIE -static ${LOADER_OBJ} + $(CC) -o ${LOADER_NAME} -fPIE -static ${LOADER_OBJ} .c.o: - gcc -fPIC -DPIC -DLINKER=\"${LINKER_PATH}\" -DLIBGCOMPAT=\"${LIBGCOMPAT_PATH}\" ${CFLAGS} ${CPPFLAGS} -c -o $@ $< + $(CC) -fPIC -DPIC -DLINKER=\"${LINKER_PATH}\" -DLIBGCOMPAT=\"${LIBGCOMPAT_PATH}\" ${CFLAGS} ${CPPFLAGS} -c -o $@ $< clean: rm -f libgcompat/*.o loader/*.o ${LIBGCOMPAT_NAME} ${LOADER_NAME} |