Addition of maybequoted() check in fpmkunit.pp is causing utils dir directory to fail due to local fpc.cfg not being recognized and loaded
## Summary When compiling on MacOS with OPTS='-n @Users/bob/fpc.cfg' the fpc.cfg file is not loaded as a cfg file. Instead it is treated as a file to build. Opt is being passed in as "@/Users/bob/fpc.cfg" due to maybequoted() check in fpmkunit.pp in TBUildEngine.GetCompilerCommand. raw fpc can take either "@/Users/bob/fpc.cfg" or @/Users/bob/fpc.cfg on the command line but for some reason calling fpc from fpmake with Args containing "@/Users/bob/fpc.cfg" resulst in fpc trying to load a file called ""@/Users/bob/fpc.cfg"" and it will not recognize it as cfg file. ## System Information <!-- The more information are provided the easier it is to replicate the bug --> - **Operating system:** MacOS, Ventura 13.1 Xcode 14.3.1<!-- Windows, Linux (if possible, also name the distro), FreeBSD, Android, ... --> - **Processor architecture:** x86-64<!-- x86, x86-64, ARM, AARCH64, AVR, RISC-V, PowerPC, ... --> - **Compiler version:** fpc trunk 0bc1d8d <!-- 3.2, 3.2.2, 3.3, trunk, beta, ... (if possible, give also the git hash) --> - **Device:** <!-- Computer, Tablet, Mobile, Amiga, Microcontroller, ... --> ## Steps to reproduce <!-- How one can reproduce the issue - this is very important! --> from base directory run make all PP=/usr/local/bin/ppcx64-3.2.2 OPT="@/Users/bob/fpc.cfg". Where fpc.cfg looks like: ``` # Location of Compiler Utilities (-FD) and Linker search path prepend (-XR) #IFDEF DARWIN -FD/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin -XR/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -Fl/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib #ENDIF #IFDEF LINUX #IFDEF CPUARM #IFDEF CPU32 -XParm-linux-gnueabihf- #ELSEIF -XPaarch64-linux-gnu- #ENDIF #ENDIF #ENDIF -Fu/$FPCDIR$/rtl/units/$fpctarget -Fu/$FPCDIR$/packages/\*/units/$fpctarget -Fu/$FPCDIR$/packages/users/src## Example Project ``` <!-- If possible, please create an example project that exhibits the problematic behavior, and link to it here in the bug report. --> ## What is the current bug behavior? <!-- What actually happens --> utils build errors out with ld error message that it cannot find -lc. Forcing -va for the compiler I can see that the fpc.cfg is not loaded but is treated as basic file on the command line. It also has quotes around it. ## What is the expected (correct) behavior? <!-- What you should see instead --> compiler, rtl, packages, utils should build ## Relevant logs and/or screenshots <!-- Paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise. You can also use syntax highlighting for Pascal with: ```pascal the code``` For more information see https://docs.gitlab.com/ee/user/markdown.html --> ## Possible fixes <!-- If you can, link to the line of code that might be responsible for the problem -->
issue