fix wrong copy-pasta in 36e412df

Set the CPPFLAGS/CFLAGS/CXXFLAGS/OBJCXXFLAGS variables correctly in
build_dist(), were set incorrectly in 36e412df.
This commit is contained in:
Rafael Kitover 2018-12-03 16:22:57 -08:00
parent 16ccad07c7
commit c68f372e5a
1 changed files with 4 additions and 4 deletions

View File

@ -1348,10 +1348,10 @@ build_dist() {
export LDFLAGS="$CXXFLAGS $LDFLAGS"
fi
export CPPFLAGS="$LDFLAGS $(eval puts "$(dist_extra_cppflags "$current_dist")")"
export CFLAGS="$LDFLAGS $(eval puts "$(dist_extra_cflags "$current_dist")")"
export CXXFLAGS="$LDFLAGS $(eval puts "$(dist_extra_cxxflags "$current_dist")")"
export OBJCXXFLAGS="$LDFLAGS $(eval puts "$(dist_extra_objcxxflags "$current_dist")")"
export CPPFLAGS="$CPPFLAGS $(eval puts "$(dist_extra_cppflags "$current_dist")")"
export CFLAGS="$CFLAGS $(eval puts "$(dist_extra_cflags "$current_dist")")"
export CXXFLAGS="$CXXFLAGS $(eval puts "$(dist_extra_cxxflags "$current_dist")")"
export OBJCXXFLAGS="$OBJCXXFLAGS $(eval puts "$(dist_extra_objcxxflags "$current_dist")")"
export LDFLAGS="$LDFLAGS $(eval puts "$(dist_extra_ldflags "$current_dist")")"
export LIBS="$LIBS $(eval puts "$(dist_extra_libs "$current_dist")")"