build: fix erroneous overwriting of flags
Always use list(APPEND) as it will perform the desired action even if the list is empty or previously unset. The first set is harmless, however, the subsequent set was overwriting the previous flag setup resulting in an improper compilation command being generated. This manifested as a build failure on Linux when using cmake + ninja. llvm-svn: 203638
Loading
Please register or sign in to comment