View | Details | Raw Unified | Return to bug 48476
Collapse All | Expand All

(-)a/Makefile (-1 / +2 lines)
Lines 21-26 PERL_APIVER := `perl -MConfig -e 'print $$Config{debian_abi}//$$Config{version}; Link Here
21
CFLAGS = -shared -fPIC -g -O2 -Werror -Wtype-limits -Wall -Wl,-z,relro
21
CFLAGS = -shared -fPIC -g -O2 -Werror -Wtype-limits -Wall -Wl,-z,relro
22
CFLAGS += -D_FORTIFY_SOURCE=2 -I$(PERL_ARCHLIB)/CORE -DXS_VERSION=\"1.0\"
22
CFLAGS += -D_FORTIFY_SOURCE=2 -I$(PERL_ARCHLIB)/CORE -DXS_VERSION=\"1.0\"
23
CFLAGS += -fstack-protector-strong -Wformat
23
CFLAGS += -fstack-protector-strong -Wformat
24
CFLAGS += $(shell perl -MExtUtils::Embed -eccopts)
24
25
25
PERLSODIR=$(PERL_INSTALLVENDORARCH)/auto
26
PERLSODIR=$(PERL_INSTALLVENDORARCH)/auto
26
27
Lines 36-42 RADOS.c: RADOS.xs typemap Link Here
36
	mv RADOS.xsc RADOS.c
37
	mv RADOS.xsc RADOS.c
37
38
38
RADOS.so: RADOS.c
39
RADOS.so: RADOS.c
39
	$(CC) $(CFLAGS) -o RADOS.so RADOS.c -lrados
40
	$(CC) $(CFLAGS) -o RADOS.so RADOS.c -lrados `perl -MExtUtils::Embed -e ldopts`
40
41
41
.PHONY: dinstall
42
.PHONY: dinstall
42
dinstall: deb
43
dinstall: deb

Return to bug 48476