Skip to content

Commit

Permalink
fix wrong copy-pasta in 36e412d
Browse files Browse the repository at this point in the history
Set the CPPFLAGS/CFLAGS/CXXFLAGS/OBJCXXFLAGS variables correctly in
build_dist(), were set incorrectly in 36e412d.
  • Loading branch information
rkitover committed Dec 4, 2018
1 parent 16ccad0 commit c68f372
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/builder/core.sh
Expand Up @@ -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")")"

Expand Down

0 comments on commit c68f372

Please sign in to comment.