mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-08 10:59:59 +00:00
Fix build errors on Ubuntu Xenial 64 bit.
Add -fPIC flag for building the lib, also add -Wl,--allow-shlib-undefined in the client LDFLAGS.
This commit is contained in:
@@ -10,7 +10,7 @@ HEADERS := $(wildcard *.h)
|
||||
|
||||
%.o: %.c $(HEADERS)
|
||||
# $(CC) -Wall -Werror -g -std=gnu99 $(CFLAGS) -c $*.c -o $*.o
|
||||
$(CC) -Wall -g -std=gnu99 $(CFLAGS) -c $*.c -o $*.o
|
||||
$(CC) -Wall -g -fPIC -std=gnu99 $(CFLAGS) -c $*.c -o $*.o
|
||||
|
||||
all: dialserver test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user