Don't overwrite BUILD_DIR when compiling in src dir

Only set a BUILD_DIR if nothing was specified by the user. This is the same behaviour as with a .dsc file.

Closes: #990734

Merge request reports

Loading