Skip to content

Commit

Permalink
Replace the correct Makefile line so cmath builds
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Aug 6, 2018
1 parent 6825ed8 commit 5f22e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules
Expand Up @@ -434,7 +434,7 @@ define __post_configure
$(MAKE) -C $(1) Makefile Modules/config.c

: # this second rule doesn't build with -fPIC, remove it.
sed '/^Modules\/_math.o: .*PY_CORE_CFLAGS/d' $(1)/Makefile > $(1)/Makefile.fixed
sed '/^Modules\/_math.o: .*PY_STDMODULE_CFLAGS/d' $(1)/Makefile > $(1)/Makefile.fixed
touch -r $(1)/Makefile $(1)/Makefile.fixed
mv -f $(1)/Makefile.fixed $(1)/Makefile
endef
Expand Down

1 comment on commit 5f22e97

@zhongjiaguo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide a complete file directory

Please sign in to comment.