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:
parent
16ccad07c7
commit
c68f372e5a
|
@ -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")")"
|
||||
|
||||
|
|
Loading…
Reference in New Issue